Skip to content

Commit

Permalink
Removed JsonBinary::toString() (to get rid of side effect in form of …
Browse files Browse the repository at this point in the history
…parse())
  • Loading branch information
shyiko committed Nov 20, 2016
1 parent 6408878 commit 24f4cae
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,6 @@ public JsonBinary(ByteArrayInputStream contents) {
this.reader = contents;
}

@Override
public String toString() {
return getString();
}

public String getString() {
JsonStringFormatter handler = new JsonStringFormatter();
try {
Expand Down

0 comments on commit 24f4cae

Please sign in to comment.