mirror of https://github.com/apache/maven.git
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:
parent
d1e7f4d5ad
commit
8095007690
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue