summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-08-21 10:33:52 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-08-21 10:33:52 +0000
commit7173ddb389d9e447ab57c8419668c12751512ee5 (patch)
treed0164a8210d9a49ad60d1243d1dd4bb4b1a2bc01 /java/sca/modules
parenta89055accbb22a5c40b9e8f62ffac383c6b83479 (diff)
Fix NPE when autowire is null (ASM_5031 though this doesn't yet fix the test)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@806485 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java
index 64f89e84e4..2adf29d33e 100644
--- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java
+++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java
@@ -432,7 +432,7 @@ public class ComponentReferenceEndpointReferenceBuilderImpl extends BaseBuilderI
} else {
// no error if reference is autowire and more targets
// than multiplicity have been found
- if (componentReference.getAutowire() == true){
+ if (componentReference.getAutowire() == Boolean.TRUE){
break;
}