aboutsummaryrefslogtreecommitdiffstats
path: root/vespalog
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2020-03-31 15:19:24 +0200
committergjoranv <gv@verizonmedia.com>2020-03-31 15:19:24 +0200
commit8b6b42efdda989e1f543f20a5430f501d39476a5 (patch)
tree83e1a92b6da27d669ef0583a7d5c6c03765ce928 /vespalog
parentf19be7542444424aa0cf5086fd85609ea1c53823 (diff)
Remove 'public' for interface methods
+ fix formatting issues
Diffstat (limited to 'vespalog')
-rw-r--r--vespalog/src/main/java/com/yahoo/log/LevelController.java26
1 files changed, 11 insertions, 15 deletions
diff --git a/vespalog/src/main/java/com/yahoo/log/LevelController.java b/vespalog/src/main/java/com/yahoo/log/LevelController.java
index ccd18f126d6..0efe0d4e7c1 100644
--- a/vespalog/src/main/java/com/yahoo/log/LevelController.java
+++ b/vespalog/src/main/java/com/yahoo/log/LevelController.java
@@ -1,4 +1,8 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.log;
+
+import java.util.logging.Level;
+
/**
* This is the interface for controlling the log level of a
* component logger. This hides the actual controlling
@@ -7,32 +11,24 @@
* @author arnej27959
*
*/
-
-/**
- * @author arnej27959
- **/
-package com.yahoo.log;
-
-import java.util.logging.Level;
-
public interface LevelController {
/**
* should we actually publish a log message with the given Level now?
- **/
- public boolean shouldLog(Level level);
+ */
+ boolean shouldLog(Level level);
/**
* return a string suitable for printing in a logctl file.
* the string must be be 4 * 8 characters, where each group
* of 4 characters is either " ON" or " OFF".
- **/
- public String getOnOffString();
+ */
+ String getOnOffString();
/**
* check the current state of logging and reflect it into the
* associated Logger instance, if available.
- **/
- public void checkBack();
- public Level getLevelLimit();
+ */
+ void checkBack();
+ Level getLevelLimit();
}