543daa3a9b
Motivation: Too many warnings from IntelliJ IDEA code inspector, PMD and FindBugs. Modifications: - Removed unnecessary casts, braces, modifiers, imports, throws on methods, etc. - Added static modifiers where it is possible. - Fixed incorrect links in javadoc. Result: Better code.