Refactor the code to make all the Java files lint free.