diff options
Diffstat (limited to 'libjava/classpath/java/nio/charset/CoderResult.java')
-rw-r--r-- | libjava/classpath/java/nio/charset/CoderResult.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/classpath/java/nio/charset/CoderResult.java b/libjava/classpath/java/nio/charset/CoderResult.java index 664215d9a68..304d9d70895 100644 --- a/libjava/classpath/java/nio/charset/CoderResult.java +++ b/libjava/classpath/java/nio/charset/CoderResult.java @@ -170,7 +170,7 @@ public class CoderResult if (length <= 0) throw new IllegalArgumentException ("Non-positive length"); - Integer len = new Integer (length); + Integer len = Integer.valueOf (length); CoderResult cr = null; Object o; if ((o = cache.get (len)) != null) |