jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1381377 - /jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java
Date Wed, 05 Sep 2012 21:17:10 GMT
Author: pmouawad
Date: Wed Sep  5 21:17:10 2012
New Revision: 1381377

URL: http://svn.apache.org/viewvc?rev=1381377&view=rev
Log:
Remove useless braces

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java?rev=1381377&r1=1381376&r2=1381377&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java Wed Sep  5 21:17:10
2012
@@ -242,7 +242,7 @@ public final class LoggingManager {
      * @return Logger
      */
     public static Logger getLoggerForClass() {
-        String className = (new Exception()).getStackTrace()[1].getClassName();
+        String className = new Exception().getStackTrace()[1].getClassName();
         return Hierarchy.getDefaultHierarchy().getLoggerFor(removePrefix(className));
     }
 



Mime
View raw message