summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/modules/implementation-web/src
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-1.x/trunk/modules/implementation-web/src')
-rw-r--r--sca-java-1.x/trunk/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/PropertyProcessor.java4
-rw-r--r--sca-java-1.x/trunk/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/ReferenceProcessor.java4
2 files changed, 0 insertions, 8 deletions
diff --git a/sca-java-1.x/trunk/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/PropertyProcessor.java b/sca-java-1.x/trunk/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/PropertyProcessor.java
index 8bee80659a..4bf53e8336 100644
--- a/sca-java-1.x/trunk/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/PropertyProcessor.java
+++ b/sca-java-1.x/trunk/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/PropertyProcessor.java
@@ -78,8 +78,6 @@ public class PropertyProcessor extends BaseJavaClassVisitor {
if (name.startsWith("set")) {
name = JavaIntrospectionHelper.toPropertyName(method.getName());
}
- // When the name is not specified, prefix the computed name with the class name
- name = method.getDeclaringClass().getName()+"_"+name;
}
Map<String, JavaElementImpl> properties = type.getPropertyMembers();
@@ -113,8 +111,6 @@ public class PropertyProcessor extends BaseJavaClassVisitor {
}
if ("".equals(name) || name.equals(field.getType().getName())) {
name = field.getName();
- // When the name is not specified, prefix the computed name with the class name
- name = field.getDeclaringClass().getName()+"_"+name;
}
Map<String, JavaElementImpl> properties = type.getPropertyMembers();
diff --git a/sca-java-1.x/trunk/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/ReferenceProcessor.java b/sca-java-1.x/trunk/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/ReferenceProcessor.java
index d8c44fbcf2..c68693f2e4 100644
--- a/sca-java-1.x/trunk/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/introspect/ReferenceProcessor.java
+++ b/sca-java-1.x/trunk/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) {