Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guillaumelamirand
Copy link

@guillaumelamirand guillaumelamirand commented Oct 2, 2024

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:

  • use it directly by updating your project with version: 1.14.0
  • download it from Artifactory here

@guillaumelamirand guillaumelamirand requested review from a team as code owners October 2, 2024 14:04
@guillaumelamirand guillaumelamirand enabled auto-merge (rebase) October 2, 2024 14:05
Copy link
Member

@phiz71 phiz71 left a 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());
Copy link
Member

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());
Copy link
Member

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;
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants