maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: svn commit: r1229755 - /maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/AbstractReleaseMojo.java
Date Wed, 11 Jan 2012 07:57:17 GMT
Hi Robert!

> +            for ( String providerType : providerImplementations.keySet() )
>             {
> -                String providerType = (String) i.next();
> -                String providerImplementation = (String) providerImplementations.get(
providerType );
> +                String providerImplementation = providerImplementations.get(
providerType );

why not just iterating over providerImplementations.entrySet() ?
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message