Skip to content

Conversation

@solth
Copy link
Member

@solth solth commented Jan 27, 2026

This PR replaces occurrences of the following methods, that are deprecated in Java 21, with non-deprecated alternatives:

  • new Locale ➡️ Locale.of
  • StringUtils.containsIgnoreCase ➡️ Strings.CI.contains
  • StringUtils.removeStart ➡️ Strings.CS.removeStart
  • StringUtils.removeEnd ➡️ Strings.CS.removeEnd

@solth solth merged commit 8dbf126 into kitodo:main Jan 29, 2026
6 checks passed
@solth solth deleted the deprecated-methods branch January 29, 2026 20:08
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