1 <p> This code seems to be using non-short-circuit logic (e.g., &
3 rather than short-circuit logic (&& or ||). In addition,
4 it seem possible that, depending on the value of the left hand side, you might not
5 want to evaluate the right hand side (because it would have side effects, could cause an exception
6 or could be expensive.</p>
8 Non-short-circuit logic causes both sides of the expression
9 to be evaluated even when the result can be inferred from
10 knowing the left-hand side. This can be less efficient and
11 can result in errors if the left-hand side guards cases
12 when evaluating the right-hand side can generate an error.
15 <p>See <a href="http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.22.2">the Java
16 Language Specification</a> for details