Cleaned final java file.