Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2016-09-02 16:25:22 +0000
committerBrian Vosburgh2017-05-18 22:39:15 +0000
commita6cc38ef3dbc1a8ff81849faee447ddf26008212 (patch)
treef0ca6a8f57ede33678d4c6ae035597bcb4f3ee5e
parente94276681a1f2456d54a1be79863ce8506c43996 (diff)
downloadwebtools.dali-a6cc38ef3dbc1a8ff81849faee447ddf26008212.tar.gz
webtools.dali-a6cc38ef3dbc1a8ff81849faee447ddf26008212.tar.xz
webtools.dali-a6cc38ef3dbc1a8ff81849faee447ddf26008212.zip
mark all PropertyAspectAdapter methods 'final'
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyAspectAdapterXXXX.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyAspectAdapterXXXX.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyAspectAdapterXXXX.java
index e50a387f3a..53761bce6f 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyAspectAdapterXXXX.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/model/value/PropertyAspectAdapterXXXX.java
@@ -60,7 +60,7 @@ public abstract class PropertyAspectAdapterXXXX<S extends Model, V>
// ********** initialization **********
- protected PropertyChangeListener buildAspectChangeListener() {
+ protected final PropertyChangeListener buildAspectChangeListener() {
return new AspectChangeListener();
}
@@ -81,20 +81,20 @@ public abstract class PropertyAspectAdapterXXXX<S extends Model, V>
// ********** AspectAdapter implementation **********
@Override
- protected void engageSubject_() {
+ protected final void engageSubject_() {
for (String propertyName : this.aspectNames) {
this.subject.addPropertyChangeListener(propertyName, this.aspectChangeListener);
}
}
@Override
- protected void disengageSubject_() {
+ protected final void disengageSubject_() {
for (String propertyName : this.aspectNames) {
this.subject.removePropertyChangeListener(propertyName, this.aspectChangeListener);
}
}
- protected void aspectChanged(@SuppressWarnings("unused") PropertyChangeEvent event) {
+ protected final void aspectChanged(@SuppressWarnings("unused") PropertyChangeEvent event) {
//TODO we have multiple PropertyAspectAdapters that depend on the aspectChanged()
//behavior because they do a transformation in the buildValue(). It would be
//nice to use the new value from the event instead of rebuilding it.

Back to the top