incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1389518 - /incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/parser/DefaultEasyAntXmlModuleDescriptorParser.java
Date Mon, 24 Sep 2012 19:11:53 GMT
Author: jlboudart
Date: Mon Sep 24 19:11:52 2012
New Revision: 1389518

URL: http://svn.apache.org/viewvc?rev=1389518&view=rev
Log:
Refactor easyantMDparser

Modified:
    incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/parser/DefaultEasyAntXmlModuleDescriptorParser.java

Modified: incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/parser/DefaultEasyAntXmlModuleDescriptorParser.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/parser/DefaultEasyAntXmlModuleDescriptorParser.java?rev=1389518&r1=1389517&r2=1389518&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/parser/DefaultEasyAntXmlModuleDescriptorParser.java
(original)
+++ incubator/easyant/core/trunk/src/main/java/org/apache/easyant/core/parser/DefaultEasyAntXmlModuleDescriptorParser.java
Mon Sep 24 19:11:52 2012
@@ -606,10 +606,8 @@ public class DefaultEasyAntXmlModuleDesc
          * @param plugins
          *            a list of plugins that will be merged with current one
          */
-        protected void mergeEasyantPlugins(List plugins) {
-            for (Iterator iterator = plugins.iterator(); iterator.hasNext();) {
-                PluginDescriptor plugin = (PluginDescriptor) iterator.next();
-
+        protected void mergeEasyantPlugins(List<PluginDescriptor> plugins) {
+            for (PluginDescriptor plugin : plugins) {
                 if (plugin.isInheritable()
                         && BuildConfigurationHelper
                                 .contains(plugin.getBuildConfigurations(), activeBuildConfigurations))
{



Mime
View raw message