Some changes in java file