From e9695997501db7e5250fc25ef4e81fb77e9c1f08 Mon Sep 17 00:00:00 2001 From: Xue-Lei Andrew Fan Date: Tue, 21 Feb 2012 05:44:29 -0800 Subject: [PATCH] 7147407: remove never used debug code in DnsClient.java Reviewed-by: vinnie --- jdk/src/share/classes/com/sun/jndi/dns/DnsClient.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/jdk/src/share/classes/com/sun/jndi/dns/DnsClient.java b/jdk/src/share/classes/com/sun/jndi/dns/DnsClient.java index 65db51e13b6..33d69ec36b0 100644 --- a/jdk/src/share/classes/com/sun/jndi/dns/DnsClient.java +++ b/jdk/src/share/classes/com/sun/jndi/dns/DnsClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -622,11 +622,7 @@ public class DnsClient { //------------------------------------------------------------------------- - private static boolean debug = false; - - public static void setDebug(boolean flag) { - debug = flag; - } + private static final boolean debug = false; private static void dprint(String mess) { if (debug) {