Checking/fixing lines that "FindBugs" gave warning