use keyword 'final' for members if possible
remove redundant if statements
remove redundant type arguments (use diamond)
add missing javadoc params
use switch instead of multiple if statements
remove unused assignement
use for-loops when possible