You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/queryalgebra/evaluation/src/main/java/org/eclipse/rdf4j/query/algebra/evaluation/ArrayBindingSet.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -331,8 +331,9 @@ public ArrayBindingSetIterator() {
331
331
332
332
@Override
333
333
publicbooleanhasNext() {
334
-
for (intat = index; at < values.length; at++) {
335
-
if (whichBindingsHaveBeenSet[at] && values[at] != null) {
334
+
// If the current index is at at a set value then this wont advance again.
335
+
for (; index < values.length; index++) {
336
+
if (whichBindingsHaveBeenSet[index] && values[index] != null) {
0 commit comments