Simplified collection method calls
Removed unnecessary parentheses and semicolon
Removed unused import
Fixed documentation link
Merge pull request #159 from kxbmap/resolve-inspection-wanings

Resolved inspection warnings by IDEA