Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 72029ed8479a
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b961a0eac8d8
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Aug 31, 2017

  1. Copy the full SHA
    45ef0c2 View commit details
  2. Merge pull request #4769 from original-brownbear/fix-broken-build

    Fix Broken Compilation
    headius authored Aug 31, 2017
    Copy the full SHA
    b961a0e View commit details
Showing with 6 additions and 1 deletion.
  1. +6 −1 core/src/main/java/org/jruby/ast/ListNode.java
7 changes: 6 additions & 1 deletion core/src/main/java/org/jruby/ast/ListNode.java
Original file line number Diff line number Diff line change
@@ -188,9 +188,14 @@ public boolean hasNext() {

@Override
public Node next() {
if (i >= list.length) throw new IndexOutOfBoundsException(i);
if (i >= list.length) throw new IndexOutOfBoundsException(String.valueOf(i));
return list[i++];
}

@Override
public void remove() {
throw new UnsupportedOperationException("remove");
}
};
}
}