Jak ustawić boolean na fałsz, jeśli Null Java
Boolean.TRUE.equals(/*your boolean value here*/);
//if true, true equals true so returns true
//if false, false does not equal true to returns false
//if null, null does not equal true so returns false
Modern Manatee