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
This commit is contained in:
John Dennis Casey 2005-06-09 18:41:31 +00:00
parent d1e7f4d5ad
commit 8095007690
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ public class PomV3ToV4Translator
if ( !props.isEmpty() ) 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 key = (String) propertyIterator.next();
String value = props.getProperty( key ); String value = props.getProperty( key );