summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-10-07 14:27:17 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-10-07 14:27:17 +0000
commit8c9edef79f8c0c8398f6a690c8772690041944a9 (patch)
tree58fa6e47a25ad551d139ec33bf7704fb04cf621d /java/sca
parent38ed820e61acc26fcfcfc49b02e8756d6e55d283 (diff)
Fix NPE due to typo in if test
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@822756 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointReferenceBuilderImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointReferenceBuilderImpl.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointReferenceBuilderImpl.java
index e1bb50a2b9..b37699580e 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointReferenceBuilderImpl.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointReferenceBuilderImpl.java
@@ -98,7 +98,7 @@ public class EndpointReferenceBuilderImpl implements EndpointReferenceBuilder {
// still need to check that the callback endpoint is set correctly
if (hasCallback(endpointReference) &&
- endpointReference.getCallbackEndpoint() == null &&
+ endpointReference.getCallbackEndpoint() != null &&
endpointReference.getCallbackEndpoint().isUnresolved() == true ){
problem = selectCallbackEndpoint(endpointReference,
endpointReference.getReference().getCallbackService().getEndpoints());