camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1234079 - in /camel/trunk/tooling/maven: camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java
Date Fri, 20 Jan 2012 19:07:25 GMT
Author: bvahdat
Date: Fri Jan 20 19:07:24 2012
New Revision: 1234079

URL: http://svn.apache.org/viewvc?rev=1234079&view=rev
Log:
Polished

Modified:
    camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java
    camel/trunk/tooling/maven/guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java

Modified: camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java
URL: http://svn.apache.org/viewvc/camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java?rev=1234079&r1=1234078&r2=1234079&view=diff
==============================================================================
--- camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java
(original)
+++ camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java
Fri Jan 20 19:07:24 2012
@@ -494,8 +494,7 @@ public class RunMojo extends AbstractExe
         do {
             foundNonDaemon = false;
             Collection<Thread> threads = getActiveThreads(threadGroup);
-            for (Iterator<Thread> iter = threads.iterator(); iter.hasNext();) {
-                Thread thread = iter.next();
+            for (Thread thread : threads) {
                 if (thread.isDaemon()) {
                     continue;
                 }

Modified: camel/trunk/tooling/maven/guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java
URL: http://svn.apache.org/viewvc/camel/trunk/tooling/maven/guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java?rev=1234079&r1=1234078&r2=1234079&view=diff
==============================================================================
--- camel/trunk/tooling/maven/guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java
(original)
+++ camel/trunk/tooling/maven/guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java
Fri Jan 20 19:07:24 2012
@@ -448,8 +448,7 @@ public class RunMojo extends AbstractExe
         do {
             foundNonDaemon = false;
             Collection<Thread> threads = getActiveThreads(threadGroup);
-            for (Iterator<Thread> iter = threads.iterator(); iter.hasNext();) {
-                Thread thread = iter.next();
+            for (Thread thread : threads) {
                 if (thread.isDaemon()) {
                     continue;
                 }



Mime
View raw message