summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules/contribution-jee
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 {