diff options
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/ReferenceProcessor.java')
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/ReferenceProcessor.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/ReferenceProcessor.java b/sca-java-1.x/branches/sca-java-1.6/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/ReferenceProcessor.java index d8c44fbcf2..c68693f2e4 100644 --- a/sca-java-1.x/branches/sca-java-1.6/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/ReferenceProcessor.java +++ b/sca-java-1.x/branches/sca-java-1.6/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/ReferenceProcessor.java @@ -69,8 +69,6 @@ public class ReferenceProcessor extends BaseJavaClassVisitor { String name = annotation.name(); if ("".equals(name)) { name = JavaIntrospectionHelper.toPropertyName(method.getName()); - // When the name is not specified, prefix the computed name with the class name - name = method.getDeclaringClass().getName()+"_"+name; } JavaElementImpl ref = type.getReferenceMembers().get(name); // Setter override field @@ -108,8 +106,6 @@ public class ReferenceProcessor extends BaseJavaClassVisitor { String name = annotation.name(); if ("".equals(name)) { name = field.getName(); - // When the name is not specified, prefix the computed name with the class name - name = field.getDeclaringClass().getName()+"_"+name; } JavaElementImpl ref = type.getReferenceMembers().get(name); if (ref != null && ref.getElementType() == ElementType.FIELD) { |