commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1697980 - /commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionList.java
Date Wed, 26 Aug 2015 17:44:21 GMT
Author: sebb
Date: Wed Aug 26 17:44:21 2015
New Revision: 1697980

URL: http://svn.apache.org/r1697980
Log:
Might as well make this Iterable

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionList.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionList.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionList.java?rev=1697980&r1=1697979&r2=1697980&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionList.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionList.java
Wed Aug 26 17:44:21 2015
@@ -49,7 +49,7 @@ import org.apache.commons.bcel6.util.Byt
  * @see     InstructionHandle
  * @see BranchHandle
  */
-public class InstructionList {
+public class InstructionList implements Iterable<InstructionHandle> {
 
     private InstructionHandle start = null;
     private InstructionHandle end = null;



Mime
View raw message