Check uses == null check instead of correct != null. So far no problem because the methods are not used.
Merge pull request #151 from CarstenHollmann/fix/use_not_equal_in_encoder_check

Check uses == null check instead of correct != null.