mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-11057 Fixed a compile error with Java 5.
X-SVN-Rev: 36143
This commit is contained in:
parent
41a76a46ba
commit
5cf61097e7
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ final class NFRule {
|
|||
*/
|
||||
private static int indexOfAny(String ruleText, String[] strings) {
|
||||
int result = -1;
|
||||
if (!ruleText.isEmpty()) {
|
||||
if (ruleText.length() > 0) {
|
||||
int pos;
|
||||
for (String string : strings) {
|
||||
pos = ruleText.indexOf(string);
|
||||
|
|
Loading…
Add table
Reference in a new issue