fix semicolon for java