summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-11-11 09:08:56 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-11-11 09:08:56 +0000
commit30fe3c1099c7ec93527c039991c5e3c1f6849250 (patch)
tree0e7695e4d46c1c244ed46ecc222d8c5b896572d6 /java
parentb323497c62d1c7597e3fc5ba8457e07443b48300 (diff)
Fix SCA-J CI test POJO_5003 - use a constructor annotated with @Property/@Reference over a no args constructor
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@834808 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.java b/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.java
index 87a8031ea7..845500941d 100644
--- a/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.java
+++ b/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.java
@@ -268,10 +268,8 @@ public class HeuristicPojoProcessor extends BaseJavaClassVisitor {
selected = ctor;
}
if (ctor.getParameterTypes().length == sites) {
- // TODO finish
- // selected = constructor;
- // select constructor
- // break;
+ selected = ctor;
+ break;
}
}
if (selected == null) {