src/share/jaxws_classes/com/sun/xml/internal/bind/Util.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2013, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -38,14 +38,13 @@
      *
      * @since 2.0
      */
     public static Logger getClassLogger() {
         try {
-//            StackTraceElement[] trace = Thread.currentThread().getStackTrace();
             StackTraceElement[] trace = new Exception().getStackTrace();
             return Logger.getLogger(trace[1].getClassName());
-        } catch( SecurityException _ ) {
+        } catch( SecurityException e) {
             return Logger.getLogger("com.sun.xml.internal.bind"); // use the default
         }
     }
 
     /**