kinow commented on code in PR #271:
URL: https://github.com/apache/commons-imaging/pull/271#discussion_r1114987029
##########
src/test/java/org/apache/commons/imaging/roundtrip/FormatInfo.java:
##########
@@ -130,4 +130,16 @@ class FormatInfo {
this.identicalSecondWrite = identicalSecondWrite;
this.preservesResolution = preservesResolution;
}
+
+ @Override
+ public String toString() {
+ return "FormatInfo{" +
+ "format=" + format +
+ ", canRead=" + canRead +
+ ", canWrite=" + canWrite +
+ ", colorSupport=" + colorSupport +
+ ", identicalSecondWrite=" + identicalSecondWrite +
+ ", preservesResolution=" + preservesResolution +
+ '}';
Review Comment:
Got it. Sounds like something that could be helpful to others too, and tests
only, so really no harm in adding it. Thanks for the explanation!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]