Fix most of the spotbugs warnings. Some warnings in tests could not be fixed and are now suppressed. In the classes touched I also fixed warnings of eclipse IDE and improved code formatting.
Coverage decreased (-0.03%) to 71.792% when pulling 10f9c11a9254767f93d61c1e618a9aeb255609f7 on rjoachim:rj-cleanup_spotbugs_warnings into 70479bf888595dc44b5bd90701e7c40c11ce12bc on openlcb:master.
Fix most of the spotbugs warnings. Some warnings in tests could not be fixed and are now suppressed. In the classes touched I also fixed warnings of eclipse IDE and improved code formatting.
Following classes needed bigger changes: