Skip to content

Commit edcc1dd

Browse files
committed
Removed redundant toString() calls.
1 parent 6486fff commit edcc1dd

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)