harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r478540 - /harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java
Date Thu, 23 Nov 2006 11:50:00 GMT
Author: tellison
Date: Thu Nov 23 03:50:00 2006
New Revision: 478540

URL: http://svn.apache.org/viewvc?view=rev&rev=478540
Log:
Suppress minor compiler warning.

Modified:
    harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java?view=diff&rev=478540&r1=478539&r2=478540
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/java/java/util/jar/Attributes.java
Thu Nov 23 03:50:00 2006
@@ -231,6 +231,7 @@
      *                when key is not an Attributes.Name or value is not a
      *                String
      */
+    @SuppressWarnings("cast") // Require cast to force ClassCastException
     public Object put(Object key, Object value) {
         return map.put((Name)key, (String)value);
     }



Mime
View raw message