harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r429806 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/EnumMap.java
Date Tue, 08 Aug 2006 20:36:21 GMT
Author: tellison
Date: Tue Aug  8 13:36:21 2006
New Revision: 429806

URL: http://svn.apache.org/viewvc?rev=429806&view=rev
Log:
Fix signatures of class definition and put method.

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

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/EnumMap.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/EnumMap.java?rev=429806&r1=429805&r2=429806&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/EnumMap.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/EnumMap.java
Tue Aug  8 13:36:21 2006
@@ -19,7 +19,7 @@
 
 import org.apache.harmony.luni.util.NotYetImplementedException;
 
-public class EnumMap<K, V> extends AbstractMap<K, V> implements Map<K, V>,
+public class EnumMap<K extends Enum<K>, V> extends AbstractMap<K, V> implements
Map<K, V>,
         Serializable, Cloneable {
     private static final long serialVersionUID = 458661240069192865L;
 
@@ -165,7 +165,7 @@
      * @return the value to which this map maps the given key, or null if this
      *         map has no mapping for the given key.
      */
-    public V put(Object key, Object value) {
+    public V put(K key, V value) {
         throw new NotYetImplementedException();
     }
 



Mime
View raw message