Remove deprecated getTimer() API
Change-Id: Ie6d99b7145f180ff264c2f372495880f50a10ca1
diff --git a/utils/misc/src/main/java/org/onlab/util/Timer.java b/utils/misc/src/main/java/org/onlab/util/Timer.java
index 19650d7..af0695a 100644
--- a/utils/misc/src/main/java/org/onlab/util/Timer.java
+++ b/utils/misc/src/main/java/org/onlab/util/Timer.java
@@ -52,28 +52,4 @@
return TIMER.get().newTimeout(task, delay, unit);
}
- /**
- * Returns the singleton hashed-wheel timer.
- *
- * @return hashed-wheel timer
- *
- * @deprecated in 1.11.0
- */
- @Deprecated
- public static org.jboss.netty.util.HashedWheelTimer getTimer() {
- if (Timer.timer == null) {
- initTimer();
- }
- return Timer.timer;
- }
-
- private static synchronized void initTimer() {
- if (Timer.timer == null) {
- org.jboss.netty.util.HashedWheelTimer hwTimer =
- new org.jboss.netty.util.HashedWheelTimer();
- hwTimer.start();
- Timer.timer = hwTimer;
- }
- }
-
}