You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/05/15 06:00:37 UTC

[camel] branch master updated: CAMEL-13234 - Fixed camel-test-cdi

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 201bbe9  CAMEL-13234 - Fixed camel-test-cdi
201bbe9 is described below

commit 201bbe9cb488095a90e81d454d634a53084f236c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 15 08:00:13 2019 +0200

    CAMEL-13234 - Fixed camel-test-cdi
---
 .../src/main/java/org/apache/camel/test/cdi/AnnotatedDecorator.java  | 5 +++++
 1 file changed, 5 insertions(+)

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 3cb20fa..5770671d9 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
@@ -75,4 +75,9 @@ class AnnotatedDecorator implements Annotated {
         }
         return null;
     }
+
+	@Override
+	public <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType) {
+        return decorated.getAnnotations(annotationType);
+	}
 }