Some changes in java syntax