Skip to content
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

Use a constant where possible #498

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Conversation

basil
Copy link
Member

@basil basil commented Jun 6, 2023

Relates to jenkinsci/jenkins-test-harness#605. Using a constant improves the maintainability of the code by making it less likely that this code will go stale if the value changes in the future, for example due to a package rename (as happened in the past with org.mortbay.jetty).

@basil basil added the internal label Jun 6, 2023
@MarkEWaite MarkEWaite merged commit f40625b into jenkinsci:master Jun 6, 2023
5 checks passed
@basil basil deleted the constant branch June 7, 2023 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants