harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r396430 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Iterable.java
Date Mon, 24 Apr 2006 05:22:53 GMT
Author: smishura
Date: Sun Apr 23 22:22:53 2006
New Revision: 396430

URL: http://svn.apache.org/viewcvs?rev=396430&view=rev
Log:
Apply patch HARMONY-394 ([classlib][luni] Generics uplift for java.lang.Iterable)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Iterable.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Iterable.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Iterable.java?rev=396430&r1=396429&r2=396430&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Iterable.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Iterable.java
Sun Apr 23 22:22:53 2006
@@ -22,12 +22,12 @@
  * statement.</p>
  * @since 1.5
  */
-public interface Iterable /*<T>*/ {
-    //TODO Add generic declarations
+public interface Iterable<T> {
+
     /**
      * <p>Returns an {@link Iterator} for the elements in this object.</p>
      * 
      * @return An <code>Iterator</code> instance.
      */
-    Iterator /*<T>*/ iterator();
+    Iterator<T> iterator();
 }



Mime
View raw message