SwayDB icon indicating copy to clipboard operation
SwayDB copied to clipboard

StreamFree.iterator's hasNext method should check if next() was invoked

Open simerplaha opened this issue 5 years ago • 0 comments

Invoking hasNext on Stream's iterator @line-326 would move the Stream forward.

hasNext should only move the Stream forward if next() was invoked.

simerplaha avatar Dec 20 '20 01:12 simerplaha