diff options
author | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-11-11 15:18:24 +0530 |
---|---|---|
committer | Jonathan Gathman <jonathan.gathman@att.com> | 2019-12-03 12:49:25 +0000 |
commit | 2039d03337f8f6003d68ebfca2c0bd244d25f4e5 (patch) | |
tree | a0036256abde4085464d49367a2b5bddbb0557c8 /misc/rosetta/src | |
parent | 333a035c095351e496328ec72c82beb65507e71b (diff) |
ListIterator.java- extract the expression
Issue-ID: AAF-876
Change-Id: I1dc239d250c9356d0cf91cbad4fd20dd4461fe0e
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'misc/rosetta/src')
-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() { |