-
Notifications
You must be signed in to change notification settings - Fork 8
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
refactor: code clean up #66
base: master
Are you sure you want to change the base?
Conversation
cd8a3f3
to
499fc4a
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.
LGTM. Though I have some questions around Lombok
} | ||
|
||
public void setWhitelistIps(List<String> whitelistIps) { | ||
this.whitelistIps = whitelistIps == null ? List.of() : whitelistIps.stream().map(String::trim).collect(Collectors.toList()); |
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.
Should we use this implementation instead of the Lombok generated one?
} | ||
|
||
public void setBlacklistIps(List<String> blacklistIps) { | ||
this.blacklistIps = blacklistIps == null ? List.of() : blacklistIps.stream().map(String::trim).collect(Collectors.toList()); |
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.
Should we use this implementation instead of the Lombok generated one?
} | ||
|
||
public LookupIpVersion getLookupIpVersion() { | ||
return lookupIpVersion == null ? LookupIpVersion.ALL : lookupIpVersion; |
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.
Should we use this implementation instead of the Lombok generated one?
Issue
https://gravitee.atlassian.net/browse/APIM-6749
Description
At the end, nothing to fix but I had already done some clean up...
Additional context
Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:
1.14.0