#214 fixing abundant null checks

fixed..
Comparing to enum instances should be done with ```==``` instead of ```equals()``` because it won't throw an NPE if either side is null, and it will produce a compile error if you don't have the same enum type on both sides (e.g. ```"red" == ColorEnum.RED``` does not compile, but ```"red".equals(ColorEnum.RED)``` does).
There are some places of this around here. Could you adapt that?