harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r984798 - /harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/ArrayList.java
Date Thu, 12 Aug 2010 14:15:53 GMT
Author: hindessm
Date: Thu Aug 12 14:15:53 2010
New Revision: 984798

URL: http://svn.apache.org/viewvc?rev=984798&view=rev
Log:
Remove unnecessary assignment.

Modified:
    harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/ArrayList.java

Modified: harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/ArrayList.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/ArrayList.java?rev=984798&r1=984797&r2=984798&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/ArrayList.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/ArrayList.java
Thu Aug 12 14:15:53 2010
@@ -684,7 +684,6 @@ public class ArrayList<E> extends Abstra
         System.arraycopy(array, firstIndex, newArray, 0, size);
         array = newArray;
         firstIndex = 0;
-        size = array.length;
         modCount = 0;
     }
 



Mime
View raw message