cleaned up code duplication
minor code formating change
removed unused argument from runScan
checkstyle fix
fixed JavaDoc @link missing close curly bracket
checkstyle fix