Skip to content

Commit 4d8f2f0

Browse files
refactor: fix toString method
1 parent a84c379 commit 4d8f2f0

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/main/java/org/eclipse/keyple/core/service/LocalReaderAdapter.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,16 @@ public String getInfo() {
897897

898898
@Override
899899
public String toString() {
900-
return "APDU_REQUEST = " + JsonUtil.toJson(this);
900+
return "ApduRequest{"
901+
+ "apdu='"
902+
+ HexUtil.toHex(apdu)
903+
+ '\''
904+
+ ", successfulStatusWords="
905+
+ JsonUtil.toJson(successfulStatusWords)
906+
+ ", info='"
907+
+ info
908+
+ '\''
909+
+ '}';
901910
}
902911
}
903912
}

0 commit comments

Comments
 (0)