summaryrefslogtreecommitdiffstats
path: root/misc/rosetta/src
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rosetta/src')
-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() {