From 7173ddb389d9e447ab57c8419668c12751512ee5 Mon Sep 17 00:00:00 2001 From: antelder Date: Fri, 21 Aug 2009 10:33:52 +0000 Subject: 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 --- .../builder/impl/ComponentReferenceEndpointReferenceBuilderImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/sca') 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; } -- cgit v1.2.3