Updated java file with correct search

I had the search java uses incorrectly labled.