-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Transform: fix toString() method #2526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
// System.out.println("Group 9 (Scale Y): " + matcher.group(9)); | ||
// System.out.println("Group 10 (Scale Z): " + matcher.group(10)); | ||
// } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to commit this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I left them on purpose. The legend of the indices of the "groups" makes the test easier to understand; otherwise, it is difficult to understand the choice of those used later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how they help with that. They seem like bits of commented out code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have replaced the bits of code with clearer comments. I hope you feel more confident now.
Improve Transform Serialization, Imports, and toString Formatting
Transform.java
for clarity and explicitness.toString()
method to useString.format
withLocale.US
for consistent formatting and improved readability of translation, rotation, and scale values.e
→ex
,importer
→im
).write
andread
methods for better maintainability.