onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r1610118 - /onami/trunk/spi/services/src/main/java/org/apache/onami/spi/services/ServiceLoaderModule.java
Date Sun, 13 Jul 2014 06:09:32 GMT
Author: ash2k
Date: Sun Jul 13 06:09:31 2014
New Revision: 1610118

URL: http://svn.apache.org/r1610118
Log:
Idea inspection: unnecessary break dance

No functional changes

Modified:
    onami/trunk/spi/services/src/main/java/org/apache/onami/spi/services/ServiceLoaderModule.java

Modified: onami/trunk/spi/services/src/main/java/org/apache/onami/spi/services/ServiceLoaderModule.java
URL: http://svn.apache.org/viewvc/onami/trunk/spi/services/src/main/java/org/apache/onami/spi/services/ServiceLoaderModule.java?rev=1610118&r1=1610117&r2=1610118&view=diff
==============================================================================
--- onami/trunk/spi/services/src/main/java/org/apache/onami/spi/services/ServiceLoaderModule.java
(original)
+++ onami/trunk/spi/services/src/main/java/org/apache/onami/spi/services/ServiceLoaderModule.java
Sun Jul 13 06:09:31 2014
@@ -99,7 +99,7 @@ public abstract class ServiceLoaderModul
         AnnotatedBindingBuilder<S> annotatedBindingBuilder = bind( serviceType );
         LinkedBindingBuilder<S> linkedBindingBuilder = annotatedBindingBuilder;
 
-        dance: for ( Annotation annotation : serviceImplType.getAnnotations() )
+        for ( Annotation annotation : serviceImplType.getAnnotations() )
         {
             Class<? extends Annotation> annotationType = annotation.annotationType();
 
@@ -112,7 +112,7 @@ public abstract class ServiceLoaderModul
                  || annotationType.isAnnotationPresent( BindingAnnotation.class ) )
             {
                 linkedBindingBuilder = annotatedBindingBuilder.annotatedWith( annotation
);
-                break dance;
+                break;
             }
         }
 



Mime
View raw message