Fixing the java file

Code was commented out that wasn't supposed to be.