You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "netliomax25-code (via GitHub)" <gi...@apache.org> on 2026/05/28 07:09:21 UTC
[PR] use Locale.ROOT in StringGroovyMethods.containsIgnoreCase [groovy]
netliomax25-code opened a new pull request, #2567:
URL: https://github.com/apache/groovy/pull/2567
`containsIgnoreCase` lowercases both arguments with the JVM default locale, so
under `tr_TR` `"ADMIN".containsIgnoreCase("admin")` returns false — `I` folds
to dotless `ı`. Switch to `Locale.ROOT`, matching the sibling
`startsWithIgnoreCase`/`endsWithIgnoreCase` which already fold locale-independently via `equalsIgnoreCase`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] use Locale.ROOT in StringGroovyMethods.containsIgnoreCase [groovy]
Posted by "paulk-asert (via GitHub)" <gi...@apache.org>.
paulk-asert merged PR #2567:
URL: https://github.com/apache/groovy/pull/2567
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] use Locale.ROOT in StringGroovyMethods.containsIgnoreCase [groovy]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #2567:
URL: https://github.com/apache/groovy/pull/2567#issuecomment-4562484710
## ✅ All tests passed ✅
🏷️ Commit: db43ad3f219646e3ccff8695b2c1200bcddc1c9d
▶️ Tests: 99894 executed
⚪️ Checks: 22/22 completed
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] use Locale.ROOT in StringGroovyMethods.containsIgnoreCase [groovy]
Posted by "paulk-asert (via GitHub)" <gi...@apache.org>.
paulk-asert commented on PR #2567:
URL: https://github.com/apache/groovy/pull/2567#issuecomment-4589345224
merged, thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org