Skip to content

Commit

Permalink
fix(java): removed print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickersoft committed Feb 9, 2021
1 parent 6d2c80c commit 357c25b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions java/main/java/org/odict/Dictionary.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ public Dictionary(String path) throws IOException {

public String lookup(String term) throws JsonProcessingException {
Entry found = this.entries.get(term.toLowerCase());
System.out.println( this.mapper.writeValueAsString(found));

return found != null ? this.mapper.writeValueAsString(found) : "{}";
}

Expand Down
2 changes: 1 addition & 1 deletion java/main/java/org/odict/models/Etymology.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Etymology {
this.id = buffer.id();

this.description = buffer.description().trim();
System.out.println(this.description);

this.usages = new HashMap<>();

for (int i = 0; i < buffer.usagesLength(); i++) {
Expand Down

0 comments on commit 357c25b

Please sign in to comment.