]> granicus.if.org Git - icu/commitdiff
ICU-11692 Fixed a compilation error with Java runtime version 5 - replacing String...
authorYoshito Umaoka <y.umaoka@gmail.com>
Fri, 5 Jun 2015 16:35:12 +0000 (16:35 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Fri, 5 Jun 2015 16:35:12 +0000 (16:35 +0000)
X-SVN-Rev: 37500

icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/DataDrivenNumberFormatTestSuite.java

index 614efbcacf0451369bd161047e3531bf55b8e735..6b7bf57275212b73b462b3e200c22abffe4fe716 100644 (file)
@@ -143,7 +143,7 @@ public class DataDrivenNumberFormatTestSuite extends TestFmwk {
                     if (!readLine(in)) {
                         break;
                     }
-                    if (fileLine.isEmpty() && state == 2) {
+                    if (fileLine.length() == 0 && state == 2) {
                         state = 0;
                     }
                     continue;