-
Notifications
You must be signed in to change notification settings - Fork 99
Make vaadin.blacklisted-packages specifiable with packages #935
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
| } else { | ||
| neverScan = Arrays.stream(neverScanProperty.split(",")) | ||
| .map(String::trim).collect(Collectors.toList()); | ||
| .map(onlyFolder -> onlyFolder.replace('.', '/').trim()) |
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.
onlyFolder - what does that refer to?
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.
To use the folder instead of package (to be symmetrical to how onlyPackages is used with vaadin.whitelisted-packages)
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.
Though I now realize that "only" probably refers to the inclusion criterion of whitelisted packages.
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.
Changed to pkg
|
SonarQube analysis reported 21 issues Top 10 issues
|




Unlike
vaadin.whitelisted-packageswhich can be specified with both '.' and '/',vaadin.blacklisted-packagesonly works with '/'.This is suboptimal, as rightly noted in this issue, because packages use . not /.