commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1477740 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ListUtils.java
Date Tue, 30 Apr 2013 17:53:56 GMT
Author: sebb
Date: Tue Apr 30 17:53:55 2013
New Revision: 1477740

URL: http://svn.apache.org/r1477740
Log:
Explicit boxing

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ListUtils.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ListUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ListUtils.java?rev=1477740&r1=1477739&r2=1477740&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ListUtils.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/ListUtils.java
Tue Apr 30 17:53:55 2013
@@ -618,7 +618,7 @@ public class ListUtils {
       
       @Override
       public Character get( int index ) {
-        return sequence.charAt( index );
+        return Character.valueOf(sequence.charAt( index ));
       }
 
       @Override



Mime
View raw message