# HG changeset patch # User xuelei # Date 1329831869 28800 # Node ID be61e1597cc6a53be08340a666195ea8790194e6 # Parent 49b066b326936bab94263205a430081bbfbd1cde 7147407: remove never used debug code in DnsClient.java Reviewed-by: vinnie diff -r 49b066b32693 -r be61e1597cc6 jdk/src/share/classes/com/sun/jndi/dns/DnsClient.java --- a/jdk/src/share/classes/com/sun/jndi/dns/DnsClient.java Tue Feb 21 15:11:27 2012 +0800 +++ b/jdk/src/share/classes/com/sun/jndi/dns/DnsClient.java Tue Feb 21 05:44:29 2012 -0800 @@ -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 @@ //------------------------------------------------------------------------- - 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) {