Repository: reef Updated Branches: refs/heads/master f2b9b843f -> af8b9086e
[REEF-1369] Remove obsolete RuntimeClock.RegisterObserver JIRA: [REEF-1369](https://issues.apache.org/jira/browse/REEF-1369) Pull request: This closes #1027 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/af8b9086 Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/af8b9086 Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/af8b9086 Branch: refs/heads/master Commit: af8b9086ed444bc0f6eb3369dbf816d1c3245ccf Parents: f2b9b84 Author: Mariia Mykhailova <[email protected]> Authored: Mon Jun 6 11:56:18 2016 -0700 Committer: Markus Weimer <[email protected]> Committed: Mon Jun 6 13:48:56 2016 -0700 ---------------------------------------------------------------------- .../Time/Runtime/RuntimeClock.cs | 15 --------------- 1 file changed, 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/af8b9086/lang/cs/Org.Apache.REEF.Wake/Time/Runtime/RuntimeClock.cs ---------------------------------------------------------------------- diff --git a/lang/cs/Org.Apache.REEF.Wake/Time/Runtime/RuntimeClock.cs b/lang/cs/Org.Apache.REEF.Wake/Time/Runtime/RuntimeClock.cs index a13b922..cc2a09a 100644 --- a/lang/cs/Org.Apache.REEF.Wake/Time/Runtime/RuntimeClock.cs +++ b/lang/cs/Org.Apache.REEF.Wake/Time/Runtime/RuntimeClock.cs @@ -162,21 +162,6 @@ namespace Org.Apache.REEF.Wake.Time.Runtime } /// <summary> - /// Register the IObserver for the particular Time event. - /// </summary> - /// <param name="observer">The handler to register</param> - [Obsolete("Will be removed in REEF 0.16")] - public void RegisterObserver<U>(IObserver<U> observer) where U : Time - { - if (_disposed) - { - return; - } - - _handlers.Subscribe(observer); - } - - /// <summary> /// Start the RuntimeClock. /// Clock will continue to run and handle events until it has been disposed. /// </summary>
