harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r394054 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/List.java
Date Fri, 14 Apr 2006 09:20:43 GMT
Author: mloenko
Date: Fri Apr 14 02:20:41 2006
New Revision: 394054

URL: http://svn.apache.org/viewcvs?rev=394054&view=rev
Log:
fix for HARMONY-347:
java.util.List.remove(E object) is inconsistent with spec

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

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/List.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/List.java?rev=394054&r1=394053&r2=394054&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/List.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/List.java
Fri Apr 14 02:20:41 2006
@@ -1,4 +1,4 @@
-/* Copyright 1998, 2004 The Apache Software Foundation or its licensors, as applicable
+/* Copyright 1998, 2006 The Apache Software Foundation or its licensors, as applicable
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -254,7 +254,7 @@
 	 * @exception UnsupportedOperationException
 	 *                when removing from this List is not supported
 	 */
-	public boolean remove(E object);
+	public boolean remove(Object object);
 
 	/**
 	 * Removes all occurrences in this List of each object in the specified



Mime
View raw message