Fix checkstyle errors

Remove .* import and add missing final in variable declaration.