summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-03-29 09:34:12 (EST)
committer pelder2006-03-29 09:34:12 (EST)
commit7cac0ab938465a71db601ef7b44b9c6c80ff1f2f (patch)
tree0cbfe76fc4a5df9c47f94a814c18d4ebc6d32dd6
parent81dc9f81dbd28b780503891ead8a0f72b21fead8 (diff)
downloadorg.eclipse.jet-7cac0ab938465a71db601ef7b44b9c6c80ff1f2f.zip
org.eclipse.jet-7cac0ab938465a71db601ef7b44b9c6c80ff1f2f.tar.gz
org.eclipse.jet-7cac0ab938465a71db601ef7b44b9c6c80ff1f2f.tar.bz2
[133151] Always return the value of an EMF Setting, even if it is unset.
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EObjectInspector.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EObjectInspector.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EObjectInspector.java
index 5511569..274cfd5 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EObjectInspector.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EObjectInspector.java
@@ -135,7 +135,8 @@ public class EObjectInspector implements IElementInspector, INodeInspectorExtens
{
EObject eObject = (EObject)contextNode;
final Setting setting = getNamedAttributeInternal(eObject, nameTestExpandedName);
- return setting == null || !setting.isSet() ? null : setting;
+// return setting == null || !setting.isSet() ? null : setting;
+ return setting; // Fix bug 133151
}
/**