Changes to java file