Check if null Boolean is true results in exception

If you don’t like extra null checks:

if (Boolean.TRUE.equals(value)) {...}

Leave a Comment