Convert to java

un-groovy this comment