Silence maven warnings regarding docs
Fix for compilation on older java versions

Remove try-multi-catch blocks.
Remove diamon operators.