Fixed typo inside java