From 80950076908fb75669f1f98450019b26e7c61d5e Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Thu, 9 Jun 2005 18:41:31 +0000 Subject: [PATCH] Fixing nested iterator confusion that was leading to NoSuchElementException git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189787 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/tools/repoclean/translate/PomV3ToV4Translator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java b/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java index 4c98db640a..95d589c4c7 100644 --- a/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java +++ b/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java @@ -560,7 +560,7 @@ public class PomV3ToV4Translator if ( !props.isEmpty() ) { - for ( Iterator propertyIterator = props.keySet().iterator(); it.hasNext(); ) + for ( Iterator propertyIterator = props.keySet().iterator(); propertyIterator.hasNext(); ) { String key = (String) propertyIterator.next(); String value = props.getProperty( key );