fixed formatting in java file