When doing some code clean up, I ran FindBug on some more code.
The first patch replaces a few "&" with "&&" which was what I had in mind. Mind you, for the lines where the first bool tests for nullness, this is critical. Yet, it does not seem to have caused problems before.
The second patch compares int values rather than Integer objects.
Log in to post a comment.