harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r412990 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Collections.java
Date Fri, 09 Jun 2006 09:29:03 GMT
Author: tellison
Date: Fri Jun  9 02:29:02 2006
New Revision: 412990

URL: http://svn.apache.org/viewvc?rev=412990&view=rev
Log:
Generify the add() of UnmodifiableCollection.

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

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Collections.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Collections.java?rev=412990&r1=412989&r2=412990&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Collections.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Collections.java
Fri Jun  9 02:29:02 2006
@@ -848,7 +848,7 @@
 			c = collection;
 		}
 
-		public boolean add(Object object) {
+		public boolean add(E object) {
 			throw new UnsupportedOperationException();
 		}
 



Mime
View raw message