Post

So Java doesn't do implicit integer-to-boolean (0 - false and 1 - true). Thus you get a compile error here. @i_sopov got there first!
English

@EclipseJavaIDE @i_sopov "The Expression must have type boolean or Boolean, or a compile-time error occurs." #jls-14.14.1" target="_blank" rel="nofollow noopener">docs.oracle.com/javase/specs/j…
English
