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

Replaced deprecated CaseInsensitiveComparator with java.lang.String one in tests #294

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

StefanSpieker
Copy link
Contributor

Replaced deprecated CaseInsensitiveComparator with java.lang.String one in tests

Proposed changelog entries

  • N/A

Submitter checklist

  • JIRA issue is well described
  • Changelog entry appropriate for the audience affected by the change (users or developer, depending on the change).
    * Use the Internal: prefix if the change has no user-visible impact (API, test frameworks, etc.)
  • Appropriate autotests or explanation to why this change has no tests

@StefanSpieker StefanSpieker requested a review from a team as a code owner February 13, 2023 16:27
@jglick
Copy link
Member

jglick commented Feb 13, 2023

Is there a reason to change this here, when the occurrence is in old data (presumably some older version of Jenkins, if not the current, did save XML in this format)?

@jglick jglick added the tests label Feb 13, 2023
@StefanSpieker
Copy link
Contributor Author

I want to create a PR to remove the CaseInsensitiveComparator from hudson.util and I am not sure if there might be a unit test failure in a distant future because of this change.

@jglick
Copy link
Member

jglick commented Feb 22, 2023

Well I think the existence of this test data is a good signal that you should not remove that class, at least not without some careful analysis of where it might be used in config.xmls in the field, and a plan to migrate those.

Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

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

Seems to be serving a useful function for checking backward compatibility of settings.

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.

2 participants