src/java.net.http/share/classes/jdk/internal/net/http/common/DebugLogger.java
branchhttp-client-branch
changeset 56437 f8b3f053cfbb
parent 56429 d61066f546a7
child 56451 9585061fdb04
--- a/src/java.net.http/share/classes/jdk/internal/net/http/common/DebugLogger.java	Mon Apr 16 13:57:06 2018 +0100
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/common/DebugLogger.java	Mon Apr 16 16:44:12 2018 +0100
@@ -44,7 +44,7 @@
  * <p> See {@link Utils#getDebugLogger(Supplier, boolean)} and
  * {@link Utils#getHpackLogger(Supplier, boolean)}.
  */
-class DebugLogger implements Logger {
+final class DebugLogger implements Logger {
     // deliberately not in the same subtree than standard loggers.
     final static String HTTP_NAME  = "jdk.internal.httpclient.debug";
     final static String WS_NAME  = "jdk.internal.httpclient.websocket.debug";
@@ -120,7 +120,7 @@
     }
 
     @Override
-    public boolean isOn() {
+    public final boolean on() {
         return debugOn;
     }