-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: improve configuration consistency (casing) #8355
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: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -998,23 +998,49 @@ public void setNodeAuditSkipDevDependencies(Boolean nodeAuditSkipDevDependencies | |
| * | ||
| * @param retirejsFilterNonVulnerable new value of | ||
| * retirejsFilterNonVulnerable | ||
| * @deprecated Use {@link #setRetireJsFilterNonVulnerable(Boolean)} instead. | ||
| */ | ||
| @Deprecated | ||
| public void setRetirejsFilterNonVulnerable(Boolean retirejsFilterNonVulnerable) { | ||
| this.retirejsFilterNonVulnerable = retirejsFilterNonVulnerable; | ||
| } | ||
|
|
||
| /** | ||
| * Set the value of retireJsFilterNonVulnerable. | ||
| * | ||
| * @param retireJsFilterNonVulnerable new value of | ||
| * retireJsFilterNonVulnerable | ||
| */ | ||
| public void setRetireJsFilterNonVulnerable(Boolean retireJsFilterNonVulnerable) { | ||
| this.retirejsFilterNonVulnerable = retireJsFilterNonVulnerable; | ||
| } | ||
|
|
||
| /** | ||
| * Add a regular expression to the set of retire JS content filters. | ||
| * <p> | ||
| * This is called by Ant. | ||
| * | ||
| * @param retirejsFilter the regular expression used to filter based on file | ||
| * content | ||
| * @deprecated Use {@link #addConfiguredRetireJsFilter(RetirejsFilter)} instead. | ||
| */ | ||
| @Deprecated | ||
| public void addConfiguredRetirejsFilter(final RetirejsFilter retirejsFilter) { | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably should rename the class, but is a bit annoying when working with case-insensitive file systems and git. So no big deal.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I guess it's not worth the potential hassle. Could still leave a comment on that class to that effect. |
||
| retirejsFilters.add(retirejsFilter.getRegex()); | ||
| } | ||
|
|
||
| /** | ||
| * Add a regular expression to the set of retire JS content filters. | ||
| * <p> | ||
| * This is called by Ant. | ||
| * | ||
| * @param retireJsFilter the regular expression used to filter based on file | ||
| * content | ||
| */ | ||
| public void addConfiguredRetireJsFilter(final RetirejsFilter retireJsFilter) { | ||
| retirejsFilters.add(retireJsFilter.getRegex()); | ||
| } | ||
|
|
||
| /** | ||
| * Set the value of rubygemsAnalyzerEnabled. | ||
| * | ||
|
|
@@ -1199,47 +1225,102 @@ public void setPathToDotnetCore(String pathToCore) { | |
| * Set value of {@link #ossindexAnalyzerEnabled}. | ||
| * | ||
| * @param ossindexAnalyzerEnabled new value of ossindexAnalyzerEnabled | ||
| * @deprecated Use {@link #setOssIndexAnalyzerEnabled(Boolean)} instead. | ||
| */ | ||
| @Deprecated | ||
| public void setOssindexAnalyzerEnabled(Boolean ossindexAnalyzerEnabled) { | ||
| this.ossindexAnalyzerEnabled = ossindexAnalyzerEnabled; | ||
| } | ||
|
|
||
| /** | ||
| * Set value of ossIndexAnalyzerEnabled. | ||
| * | ||
| * @param ossIndexAnalyzerEnabled new value of ossIndexAnalyzerEnabled | ||
| */ | ||
| public void setOssIndexAnalyzerEnabled(Boolean ossIndexAnalyzerEnabled) { | ||
| this.ossindexAnalyzerEnabled = ossIndexAnalyzerEnabled; | ||
| } | ||
|
|
||
| /** | ||
| * Set value of {@link #ossindexAnalyzerUseCache}. | ||
| * | ||
| * @param ossindexAnalyzerUseCache new value of ossindexAnalyzerUseCache | ||
| * @deprecated Use {@link #setOssIndexAnalyzerUseCache(Boolean)} instead. | ||
| */ | ||
| @Deprecated | ||
| public void setOssindexAnalyzerUseCache(Boolean ossindexAnalyzerUseCache) { | ||
| this.ossindexAnalyzerUseCache = ossindexAnalyzerUseCache; | ||
| } | ||
|
|
||
| /** | ||
| * Set value of ossIndexAnalyzerUseCache. | ||
| * | ||
| * @param ossIndexAnalyzerUseCache new value of ossIndexAnalyzerUseCache | ||
| */ | ||
| public void setOssIndexAnalyzerUseCache(Boolean ossIndexAnalyzerUseCache) { | ||
| this.ossindexAnalyzerUseCache = ossIndexAnalyzerUseCache; | ||
| } | ||
|
|
||
| /** | ||
| * Set value of {@link #ossindexAnalyzerUrl}. | ||
| * | ||
| * @param ossindexAnalyzerUrl new value of ossindexAnalyzerUrl | ||
| * @deprecated Use {@link #setOssIndexAnalyzerUrl(String)} instead. | ||
| */ | ||
| @Deprecated | ||
| public void setOssindexAnalyzerUrl(String ossindexAnalyzerUrl) { | ||
| this.ossindexAnalyzerUrl = ossindexAnalyzerUrl; | ||
| } | ||
|
|
||
| /** | ||
| * Set value of ossIndexAnalyzerUrl. | ||
| * | ||
| * @param ossIndexAnalyzerUrl new value of ossIndexAnalyzerUrl | ||
| */ | ||
| public void setOssIndexAnalyzerUrl(String ossIndexAnalyzerUrl) { | ||
| this.ossindexAnalyzerUrl = ossIndexAnalyzerUrl; | ||
| } | ||
|
|
||
| /** | ||
| * Set value of {@link #ossindexAnalyzerUsername}. | ||
| * | ||
| * @param ossindexAnalyzerUsername new value of ossindexAnalyzerUsername | ||
| * @deprecated Use {@link #setOssIndexAnalyzerUsername(String)} instead. | ||
| */ | ||
| @Deprecated | ||
| public void setOssindexAnalyzerUsername(String ossindexAnalyzerUsername) { | ||
| this.ossindexAnalyzerUsername = ossindexAnalyzerUsername; | ||
| } | ||
|
|
||
| /** | ||
| * Set value of ossIndexAnalyzerUsername. | ||
| * | ||
| * @param ossIndexAnalyzerUsername new value of ossIndexAnalyzerUsername | ||
| */ | ||
| public void setOssIndexAnalyzerUsername(String ossIndexAnalyzerUsername) { | ||
| this.ossindexAnalyzerUsername = ossIndexAnalyzerUsername; | ||
| } | ||
|
|
||
| /** | ||
| * Set value of {@link #ossindexAnalyzerPassword}. | ||
| * | ||
| * @param ossindexAnalyzerPassword new value of ossindexAnalyzerPassword | ||
| * @deprecated Use {@link #setOssIndexAnalyzerPassword(String)} instead. | ||
| */ | ||
| @Deprecated | ||
| public void setOssindexAnalyzerPassword(String ossindexAnalyzerPassword) { | ||
| this.ossindexAnalyzerPassword = ossindexAnalyzerPassword; | ||
| } | ||
|
|
||
| /** | ||
| * Set value of ossIndexAnalyzerPassword. | ||
| * | ||
| * @param ossIndexAnalyzerPassword new value of ossIndexAnalyzerPassword | ||
| */ | ||
| public void setOssIndexAnalyzerPassword(String ossIndexAnalyzerPassword) { | ||
| this.ossindexAnalyzerPassword = ossIndexAnalyzerPassword; | ||
| } | ||
|
|
||
| /** | ||
| * Set value of {@link #ossIndexAnalyzerWarnOnlyOnRemoteErrors}. | ||
| * | ||
|
|
||
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.
Would be good if it renamed the internal variables (arguably even the parameters) to the target state.