Skip to content

Remove unused syntaxHighlighting field#195

Merged
cesan3 merged 1 commit into
jenkinsci:masterfrom
cesan3:chore/remove-unused-syntax-highlighting-field
Apr 30, 2026
Merged

Remove unused syntaxHighlighting field#195
cesan3 merged 1 commit into
jenkinsci:masterfrom
cesan3:chore/remove-unused-syntax-highlighting-field

Conversation

@cesan3
Copy link
Copy Markdown
Contributor

@cesan3 cesan3 commented Apr 30, 2026

Summary

  • Removes the unused private boolean syntaxHighlighting field from ValidatingYamlParameterValue. It has no getter, no setter, no @DataBoundSetter, is never read or written anywhere in the codebase, and is not referenced from any Jelly view — pure dead code.

Test plan

  • mvn clean verify passes
  • grep -r "syntaxHighlighting" src/ returns no matches after the change

The private boolean syntaxHighlighting field in ValidatingYamlParameterValue
was never read, written, or exposed via getter/setter or @DataBoundSetter,
and is not referenced from any Jelly view. Removing it as dead code.
@cesan3 cesan3 requested a review from a team as a code owner April 30, 2026 03:46
@cesan3 cesan3 added java Pull requests that update Java code chore changes not affecting the code, dead code cleaning labels Apr 30, 2026
@cesan3 cesan3 merged commit a3f58ce into jenkinsci:master Apr 30, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore changes not affecting the code, dead code cleaning java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant