summaryrefslogtreecommitdiff
path: root/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/SelectFormatAPITest.java
diff options
context:
space:
mode:
Diffstat (limited to 'icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/SelectFormatAPITest.java')
-rw-r--r--icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/SelectFormatAPITest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/SelectFormatAPITest.java b/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/SelectFormatAPITest.java
index dd2e1c17f..5d00c35ba 100644
--- a/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/SelectFormatAPITest.java
+++ b/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/SelectFormatAPITest.java
@@ -151,7 +151,7 @@ public class SelectFormatAPITest extends CoreTestFmwk {
boolean threwException = false;
try {
StringBuffer buf = new StringBuffer("AppendHere-");
- selFmt1.format(Integer.valueOf(0), buf, new FieldPosition(0));
+ selFmt1.format(0, buf, new FieldPosition(0));
} catch (IllegalArgumentException e) {
threwException = true;
}