Fixed Java syntax error

Stupidly made a Java syntax error.