diff options
author | Jonathan Gathman <jonathan.gathman@att.com> | 2019-12-03 16:23:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-03 16:23:04 +0000 |
commit | dfdf3fd560eb6d9ce340515977a7bd7b3e3d1fb5 (patch) | |
tree | 283ebaf082ce14d852ffc888cad8b1e1f95e3fc7 /misc | |
parent | 588ef836b3b66729d6fba9d57e89e330ab22b5ca (diff) | |
parent | 2039d03337f8f6003d68ebfca2c0bd244d25f4e5 (diff) |
Merge "ListIterator.java- extract the expression"
Diffstat (limited to 'misc')
-rw-r--r-- | misc/rosetta/src/main/java/org/onap/aaf/misc/rosetta/marshal/ListIterator.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/rosetta/src/main/java/org/onap/aaf/misc/rosetta/marshal/ListIterator.java b/misc/rosetta/src/main/java/org/onap/aaf/misc/rosetta/marshal/ListIterator.java index 4bc23449..d26544c7 100644 --- a/misc/rosetta/src/main/java/org/onap/aaf/misc/rosetta/marshal/ListIterator.java +++ b/misc/rosetta/src/main/java/org/onap/aaf/misc/rosetta/marshal/ListIterator.java @@ -44,7 +44,8 @@ final class ListIterator<T> implements Iterator<T> { @Override public T next() { - return curr = delg.hasNext()?delg.next():null; + curr = delg.hasNext()?delg.next():null; + return curr; } public T peek() { |