Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
kemsky committed Dec 17, 2015
1 parent c3d5ccd commit cd771ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/com/kemsky/Iterator.as
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ package com.kemsky
/**
* Stop iterator.
*/
function end():void;
function stop():void;
}
}
2 changes: 1 addition & 1 deletion source/com/kemsky/support/ValueIterator.as
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ package com.kemsky.support
/**
* @inheritDoc
*/
public function end():void
public function stop():void
{
_next = _current = -1;
}
Expand Down
2 changes: 1 addition & 1 deletion testSrc/com/kemsky/TestStream.as
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ package com.kemsky
assertEquals(values.index, -1);
assertEquals(values.hasNext, true);

values.end();
values.stop();
assertEquals(values.index, -1);
assertEquals(values.hasNext, false);

Expand Down

0 comments on commit cd771ff

Please sign in to comment.