summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gathman <jonathan.gathman@att.com>2019-12-03 16:23:04 +0000
committerGerrit Code Review <gerrit@onap.org>2019-12-03 16:23:04 +0000
commitdfdf3fd560eb6d9ce340515977a7bd7b3e3d1fb5 (patch)
tree283ebaf082ce14d852ffc888cad8b1e1f95e3fc7
parent588ef836b3b66729d6fba9d57e89e330ab22b5ca (diff)
parent2039d03337f8f6003d68ebfca2c0bd244d25f4e5 (diff)
Merge "ListIterator.java- extract the expression"
-rw-r--r--misc/rosetta/src/main/java/org/onap/aaf/misc/rosetta/marshal/ListIterator.java3
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() {