-
Notifications
You must be signed in to change notification settings - Fork 6k
Add toString to IpAddressMatcher #16818
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
Conversation
cd0196c
to
437e35d
Compare
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.
Thanks for the PR, @wtigerhyunsu! I'm glad we were able to together on a solution. I've left some feedback inline, would you be able to make those changes please?
Since the feedback is quite brief, please squash your commits the next time you push so that there continues to be only one commit.
web/src/main/java/org/springframework/security/web/util/matcher/IpAddressMatcher.java
Outdated
Show resolved
Hide resolved
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.
Thanks for the update, @wtigerhyunsu! I've left another piece of inline feedback.
web/src/test/java/org/springframework/security/web/util/matcher/IpAddressMatcherTests.java
Outdated
Show resolved
Hide resolved
Closes spring-projectsgh-16795 Signed-off-by: wtigerhyunsu <[email protected]>
Thanks, @wtigerhyunsu! This is now merged into |
Closes gh-16795
Implemented the toString method based on gh-16795.
In the future, if getHostAddress() or getMaskBits() methods are introduced, the internal logic of toString may be updated to use those methods.
Fixed a formatting issue detected in build #5695 (checkFormatTest failure) and resubmitted the PR.