fixed typo in java ref