Skip to content

Commit 75b7c36

Browse files
authored
Merge pull request #59 from kamaci/master_3
Removed redundant toString() calls.
2 parents 18cec94 + edcc1dd commit 75b7c36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/ipfs/api/IPFS.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,11 +507,11 @@ public String sys() throws IOException {
507507
}
508508

509509
public Map ping(String target) throws IOException {
510-
return retrieveMap("ping/" + target.toString());
510+
return retrieveMap("ping/" + target);
511511
}
512512

513513
public Map id(String target) throws IOException {
514-
return retrieveMap("id/" + target.toString());
514+
return retrieveMap("id/" + target);
515515
}
516516

517517
public Map id() throws IOException {

0 commit comments

Comments
 (0)