Skip to content

Rename misleading parameter names in MaskSensitiveHelper#2942

Merged
reta merged 1 commit intoapache:mainfrom
gnodet:fix/rename-insensitive-params
Mar 10, 2026
Merged

Rename misleading parameter names in MaskSensitiveHelper#2942
reta merged 1 commit intoapache:mainfrom
gnodet:fix/rename-insensitive-params

Conversation

@gnodet
Copy link
Contributor

@gnodet gnodet commented Mar 10, 2026

Summary

  • Renames inSensitiveElementNamessensitiveElementNames to avoid confusion with "insensitive"
  • Renames inSensitiveAttributeNamessensitiveAttributeNames (same issue)
  • Fixes typo inSensitiveAttirbuteNamessensitiveAttributeNames

Supersedes #2260 which had merge conflicts due to file changes since it was opened.

Closes #2260

Rename parameters like 'inSensitiveElementNames' to
'sensitiveElementNames' to avoid confusion with 'insensitive'.
Also fixes typo 'inSensitiveAttirbuteNames' (missing 'b').

Closes apache#2260
@reta
Copy link
Member

reta commented Mar 10, 2026

Thanks @gnodet , I suspect the naming was driven by PMD or/and checkstyle complains at the time

@reta reta merged commit b3d0fed into apache:main Mar 10, 2026
4 checks passed
reta pushed a commit that referenced this pull request Mar 10, 2026
Rename parameters like 'inSensitiveElementNames' to
'sensitiveElementNames' to avoid confusion with 'insensitive'.
Also fixes typo 'inSensitiveAttirbuteNames' (missing 'b').

Closes #2260

(cherry picked from commit b3d0fed)

# Conflicts:
#	rt/features/logging/src/main/java/org/apache/cxf/ext/logging/MaskSensitiveHelper.java
reta pushed a commit that referenced this pull request Mar 11, 2026
Rename parameters like 'inSensitiveElementNames' to
'sensitiveElementNames' to avoid confusion with 'insensitive'.
Also fixes typo 'inSensitiveAttirbuteNames' (missing 'b').

Closes #2260

(cherry picked from commit b3d0fed)

# Conflicts:
#	rt/features/logging/src/main/java/org/apache/cxf/ext/logging/MaskSensitiveHelper.java
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