Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1011)

Unified Diff: pkg/observe/lib/src/observable.dart

Issue 48293002: Remove @deprecated features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/observe/lib/src/observable.dart
diff --git a/pkg/observe/lib/src/observable.dart b/pkg/observe/lib/src/observable.dart
index ca9408589a2c4c655dd5c91641501965dc04d537..b5b390d5a4c03e802fde18c799e43bf5d66bbf94 100644
--- a/pkg/observe/lib/src/observable.dart
+++ b/pkg/observe/lib/src/observable.dart
@@ -171,21 +171,6 @@ abstract class Observable {
}
}
-/**
- * *Deprecated* use [Observable.notifyPropertyChange] instead.
- *
- * This API should not be used as it creates a
- * [PropertyChangeRecord] without oldValue and newValue.
- *
- * Notify the property change. Shorthand for:
- *
- * target.notifyChange(new PropertyChangeRecord(target, name, null, null));
- */
-@deprecated
-void notifyProperty(Observable target, Symbol name) {
- target.notifyChange(new PropertyChangeRecord(target, name, null, null));
-}
-
// TODO(jmesserly): remove the instance method and make this top-level method
// public instead?
_notifyPropertyChange(Observable obj, Symbol field, Object oldValue,

Powered by Google App Engine
This is Rietveld 408576698