Skip to content

Commit eda2f3e

Browse files
eclipse-platform-botakurtakov
authored andcommitted
Perform clean code of runtime/bundles/org.eclipse.core.runtime
1 parent 5564079 commit eda2f3e

File tree

1 file changed

+5
-0
lines changed
  • runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime

1 file changed

+5
-0
lines changed

runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Preferences.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ public static class PropertyChangeEvent extends EventObject {
212212
* @param newValue the new value of the property, or
213213
* <code>null</code> if none
214214
*/
215+
@Deprecated
215216
protected PropertyChangeEvent(Object source, String property, Object oldValue, Object newValue) {
216217

217218
super(source);
@@ -233,6 +234,7 @@ protected PropertyChangeEvent(Object source, String property, Object oldValue, O
233234
*
234235
* @return the name of the property that changed
235236
*/
237+
@Deprecated
236238
public String getProperty() {
237239
return propertyName;
238240
}
@@ -243,6 +245,7 @@ public String getProperty() {
243245
* @return the new value, or <code>null</code> if not known
244246
* or not relevant
245247
*/
248+
@Deprecated
246249
public Object getNewValue() {
247250
return newValue;
248251
}
@@ -253,6 +256,7 @@ public Object getNewValue() {
253256
* @return the old value, or <code>null</code> if not known
254257
* or not relevant
255258
*/
259+
@Deprecated
256260
public Object getOldValue() {
257261
return oldValue;
258262
}
@@ -296,6 +300,7 @@ public interface IPropertyChangeListener extends EventListener {
296300
* @param event the property change event object describing which
297301
* property changed and how
298302
*/
303+
@Deprecated
299304
public void propertyChange(Preferences.PropertyChangeEvent event);
300305
}
301306

0 commit comments

Comments
 (0)