Fixed up java file