summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68>2009-11-10 11:46:07 +0000
committervamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68>2009-11-10 11:46:07 +0000
commitbd01e710922adbfccd23e7050524280d04d1c729 (patch)
treefb5ceae4fcc660f32718d08392473b8f7a7aa4ed
parentbbc3a6339bbbae42d4591adfbf1071539fd20779 (diff)
Correcting an error from previous commit. The check should be for null.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@834438 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/JavaEEOptionalExtensionImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/JavaEEOptionalExtensionImpl.java b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/JavaEEOptionalExtensionImpl.java
index 117af07369..bd0e026adf 100644
--- a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/JavaEEOptionalExtensionImpl.java
+++ b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/JavaEEOptionalExtensionImpl.java
@@ -366,7 +366,7 @@ public class JavaEEOptionalExtensionImpl implements JavaEEOptionalExtension {
}
private boolean hasReferenceAnnotation(InjectionTarget injectionTarget) {
- if(injectionTarget.targetClass != null || injectionTarget.targetClass.equals("")) {
+ if(injectionTarget.targetClass == null || injectionTarget.targetClass.equals("")) {
return false;
}
try {