Skip to content

Fix incorrect parameter names in GradientFormatter error messages#15781

Open
vinaykpud wants to merge 3 commits intoapache:mainfrom
vinaykpud:fix/gradient-formatter-error-messages
Open

Fix incorrect parameter names in GradientFormatter error messages#15781
vinaykpud wants to merge 3 commits intoapache:mainfrom
vinaykpud:fix/gradient-formatter-error-messages

Conversation

@vinaykpud
Copy link

Description

  • Fix error message for maxForegroundColor validation that incorrectly referenced "minForegroundColor"
  • Fix error message for maxBackgroundColor validation that incorrectly referenced "minBackgroundColor"
  • Remove commented-out dead code (corpusReader, totalNumDocs)
  • Remove redundant duplicate zero-check in highlightTerm()

- Fix error message for maxForegroundColor validation that incorrectly
  referenced "minForegroundColor"
- Fix error message for maxBackgroundColor validation that incorrectly
  referenced "minBackgroundColor"
- Remove commented-out dead code (corpusReader, totalNumDocs)
- Remove redundant duplicate zero-check in highlightTerm()
@github-actions github-actions bot added this to the 11.0.0 milestone Feb 28, 2026

* GITHUB#15781: Fix incorrect parameter names in GradientFormatter error messages. Validation of
maxForegroundColor and maxBackgroundColor incorrectly referenced "minForegroundColor" and
"minBackgroundColor" in their error messages. Also removed dead code and a redundant
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we have a more concise change log? May generate it by LLM.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants