Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
added some debugged crap
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Feb 22, 2020
1 parent 0dcae27 commit 2e2ef9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/andromeda/araserver/skills/Locdec.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public String main(String search, KeyWord keyWord, Parser parser) {
lat = pair.replace("lat=", "");
} else term = pair.replace("/yelpclient/", "");
}
term = new SortWords(keyWord, term).getNNS(parser);
if(!term.equals(""))term = new SortWords(keyWord, term).getNNS(parser);
System.out.println(term);
//return new gson value from the yelpsearch() function
return new Gson().toJson(yelpSearch());
Expand Down

0 comments on commit 2e2ef9b

Please sign in to comment.