Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jpa
diff options
context:
space:
mode:
authorkmoore2010-05-04 13:46:15 +0000
committerkmoore2010-05-04 13:46:15 +0000
commitc73d8ba492ec6f9d6bc65c7db5b3bd78c3279109 (patch)
treea95143e612ea9a53b83a8a574f59d11eea92da19 /jpa
parent9b313ab825c92434cdd1b9cf12c8537e7bd4c77d (diff)
downloadwebtools.dali-c73d8ba492ec6f9d6bc65c7db5b3bd78c3279109.tar.gz
webtools.dali-c73d8ba492ec6f9d6bc65c7db5b3bd78c3279109.tar.xz
webtools.dali-c73d8ba492ec6f9d6bc65c7db5b3bd78c3279109.zip
311080 - opening a generated canonical metamodel file in java editor causes JPT update thread to run
Diffstat (limited to 'jpa')
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/jpa2/resource/java/source/SourceGeneratedAnnotation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/jpa2/resource/java/source/SourceGeneratedAnnotation.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/jpa2/resource/java/source/SourceGeneratedAnnotation.java
index 4b42b4060c..fa8da6ec08 100644
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/jpa2/resource/java/source/SourceGeneratedAnnotation.java
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/jpa2/resource/java/source/SourceGeneratedAnnotation.java
@@ -183,7 +183,7 @@ public final class SourceGeneratedAnnotation
}
protected void syncComments(String astComments) {
- String old = this.date;
+ String old = this.comments;
this.comments = astComments;
this.firePropertyChanged(COMMENTS_PROPERTY, old, astComments);
}

Back to the top