Removed useless Java code.