You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ml...@apache.org on 2006/04/14 11:20:43 UTC
svn commit: r394054 -
/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/List.java
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