harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r718323 - /harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java
Date Mon, 17 Nov 2008 18:52:00 GMT
Author: tellison
Date: Mon Nov 17 10:52:00 2008
New Revision: 718323

URL: http://svn.apache.org/viewvc?rev=718323&view=rev
Log:
Add annotation to show this method should not be generic.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java

Modified: harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java?rev=718323&r1=718322&r2=718323&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/Class.java
Mon Nov 17 10:52:00 2008
@@ -169,6 +169,7 @@
      * @throws SecurityException
      *             If member access is not allowed
      */
+    @SuppressWarnings("unchecked") // According to spec
     public Class[] getClasses() {
         return null;
     }



Mime
View raw message