This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 99b4779  Camel-Test-CDI: Fixed CS
99b4779 is described below

commit 99b47794e71e8ad010f8dac4ce97e61ae24c2846
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed May 15 08:01:33 2019 +0200

    Camel-Test-CDI: Fixed CS
---
 .../main/java/org/apache/camel/test/cdi/AnnotatedDecorator.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/components/camel-test-cdi/src/main/java/org/apache/camel/test/cdi/AnnotatedDecorator.java
 
b/components/camel-test-cdi/src/main/java/org/apache/camel/test/cdi/AnnotatedDecorator.java
index 5770671d9..6a9d449 100644
--- 
a/components/camel-test-cdi/src/main/java/org/apache/camel/test/cdi/AnnotatedDecorator.java
+++ 
b/components/camel-test-cdi/src/main/java/org/apache/camel/test/cdi/AnnotatedDecorator.java
@@ -70,14 +70,14 @@ class AnnotatedDecorator implements Annotated {
     private <T extends Annotation> T getDecoratingAnnotation(Class<T> 
annotationType) {
         for (Annotation annotation : annotations) {
             if (annotationType.isAssignableFrom(annotation.annotationType())) {
-                return (T) annotation;
+                return (T)annotation;
             }
         }
         return null;
     }
 
-       @Override
-       public <T extends Annotation> Set<T> getAnnotations(Class<T> 
annotationType) {
+    @Override
+    public <T extends Annotation> Set<T> getAnnotations(Class<T> 
annotationType) {
         return decorated.getAnnotations(annotationType);
-       }
+    }
 }

Reply via email to