| author | Paul Fullbright | 2013-01-16 15:12:05 (EST) |
|---|---|---|
| committer | Neil Hauge | 2013-01-21 18:43:58 (EST) |
| commit | e80ad5d4deb2f61e805df1354e27b6fbde6a6aa5 (patch) (side-by-side diff) | |
| tree | 84b3b94f601020be522f9cede347a7f98b7cb4d3 | |
| parent | 92746ba3abe3adfee52407af7093c1fe373b243e (diff) | |
| download | webtools.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.java | 4 |
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); } |

