summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.3/modules/implementation-java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-07-02 15:37:05 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-07-02 15:37:05 +0000
commitc30d85f5d1d1ead6e9ad703f87392992e38150ac (patch)
tree71322bd610db5f5dac2b5399c3ef1325cca5d7f5 /branches/sca-java-1.3/modules/implementation-java
parent4c7b2e5c0549718ed1814edbb1adb8166efe4fca (diff)
Fix for TUSCANY-2444, merged from trunk
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@673421 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.3/modules/implementation-java')
-rw-r--r--branches/sca-java-1.3/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/branches/sca-java-1.3/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.java b/branches/sca-java-1.3/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.java
index 6a1876fc5d..6039bd91f8 100644
--- a/branches/sca-java-1.3/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.java
+++ b/branches/sca-java-1.3/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.java
@@ -68,7 +68,7 @@ public final class JavaIntrospectionHelper {
private static void checkInvalidAnnotations(AnnotatedElement element) {
for (Annotation a : element.getAnnotations()) {
- if ("org.osoa.sca.annotations".equals(a.annotationType().getPackage().getName())) {
+ if (a.annotationType().getName().startsWith("org.osoa.sca.annotations.")) {
logger.warning("Invalid annotation " + a + " is found on " + element);
}
}