Fixed small issues: resolved warnings, removed unused parameters of createReportUnit, changed names, final parameters/variables, spaces instead of tabs, etc.
Fixed small issues: removed unnecessary code, final parameters/variables, updated Javadocs, etc.