summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Fullbright2013-01-16 15:12:05 (EST)
committer Neil Hauge2013-01-21 18:43:58 (EST)
commite80ad5d4deb2f61e805df1354e27b6fbde6a6aa5 (patch)
tree84b3b94f601020be522f9cede347a7f98b7cb4d3
parent92746ba3abe3adfee52407af7093c1fe373b243e (diff)
downloadwebtools.dali-e80ad5d4deb2f61e805df1354e27b6fbde6a6aa5.zip
webtools.dali-e80ad5d4deb2f61e805df1354e27b6fbde6a6aa5.tar.gz
webtools.dali-e80ad5d4deb2f61e805df1354e27b6fbde6a6aa5.tar.bz2
Ensure jaxb model is sync'ed after imports change.
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceXmlJavaTypeAdapterAnnotation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceXmlJavaTypeAdapterAnnotation.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceXmlJavaTypeAdapterAnnotation.java
index e5893bb..34b50e5 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceXmlJavaTypeAdapterAnnotation.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceXmlJavaTypeAdapterAnnotation.java
@@ -158,7 +158,7 @@ public final class SourceXmlJavaTypeAdapterAnnotation
private void syncValue(String astValue) {
String old = this.value;
this.value = astValue;
- this.suppressFQValueEventNotification |= ObjectTools.equals(old, astValue);
+ this.suppressFQValueEventNotification |= ! ObjectTools.equals(old, astValue);
this.firePropertyChanged(VALUE_PROPERTY, old, astValue);
}
@@ -206,7 +206,7 @@ public final class SourceXmlJavaTypeAdapterAnnotation
private void syncType(String astType) {
String old = this.type;
this.type = astType;
- this.suppressFQTypeEventNotification |= ObjectTools.equals(old, astType);
+ this.suppressFQTypeEventNotification |= ! ObjectTools.equals(old, astType);
this.firePropertyChanged(TYPE_PROPERTY, old, astType);
}