introduce final ; refactoring on imports
replace != by ! .equals
forgotten throw added