Cleared some warnings.
Translated a comment in GapSearch.java from Portuguese to English.