Permalink
Browse files

Simplified interface to be an Iterable on CompilerPass

  • Loading branch information...
1 parent fadcc90 commit a6d57b41e3748859a43afd9314b4b48f9f3c2929 @komax committed Jul 25, 2013
Showing with 1 addition and 5 deletions.
  1. +1 −5 core/src/main/java/org/jruby/ir/passes/CompilerPassScheduler.java
@@ -1,8 +1,4 @@
package org.jruby.ir.passes;
-import java.util.Iterator;
-
-public interface CompilerPassScheduler extends Iterator<CompilerPass> {
- public boolean hasNext();
- public CompilerPass next();
+public interface CompilerPassScheduler extends Iterable<CompilerPass> {
}

0 comments on commit a6d57b4

Please sign in to comment.