aboutsummaryrefslogtreecommitdiffstats
path: root/vespalog/src/main/java/com/yahoo/log/LogSetup.java
diff options
context:
space:
mode:
Diffstat (limited to 'vespalog/src/main/java/com/yahoo/log/LogSetup.java')
-rw-r--r--vespalog/src/main/java/com/yahoo/log/LogSetup.java14
1 files changed, 2 insertions, 12 deletions
diff --git a/vespalog/src/main/java/com/yahoo/log/LogSetup.java b/vespalog/src/main/java/com/yahoo/log/LogSetup.java
index 9879f9d787d..e000684db7f 100644
--- a/vespalog/src/main/java/com/yahoo/log/LogSetup.java
+++ b/vespalog/src/main/java/com/yahoo/log/LogSetup.java
@@ -24,12 +24,7 @@ public class LogSetup {
private static final Timer taskRunner = new Timer(true);
- /**
- * A global task thread
- * @deprecated Just construct a java.util.Timer instead
- **/
- @Deprecated(since = "7", forRemoval = true)
- public static Timer getTaskRunner() { return taskRunner; }
+ static Timer getTaskRunner() { return taskRunner; }
/** The log handler used by this */
private static VespaLogHandler logHandler;
@@ -167,12 +162,7 @@ public class LogSetup {
Logger.getLogger("").addHandler(logHandler);
}
- /**
- * Returns the log handler set up by this class
- * @deprecated Should only be used internally in the log library
- */
- @Deprecated(since = "7", forRemoval = true)
- public static VespaLogHandler getLogHandler() {
+ static VespaLogHandler getLogHandler() {
return logHandler;
}