directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r946089 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/NestableDelegate.java
Date Wed, 19 May 2010 09:03:00 GMT
Author: elecharny
Date: Wed May 19 09:02:59 2010
New Revision: 946089

URL: http://svn.apache.org/viewvc?rev=946089&view=rev
Log:
Constants should be upercased

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/NestableDelegate.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/NestableDelegate.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/NestableDelegate.java?rev=946089&r1=946088&r2=946089&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/NestableDelegate.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/NestableDelegate.java
Wed May 19 09:02:59 2010
@@ -65,7 +65,7 @@ public class NestableDelegate implements
      * 
      * @since 2.0
      */
-    public static final boolean topDown = true;
+    public static final boolean TOP_DOWN = true;
 
     /**
      * Whether to trim the repeated stack trace. This public flag may be set by
@@ -319,7 +319,7 @@ public class NestableDelegate implements
      * Throwable class has a <code>getCause</code> method (i.e. running on
      * jre1.4 or higher), this method just uses Throwable's printStackTrace()
      * method. Otherwise, generates the stack-trace, by taking into account the
-     * 'topDown' and 'trimStackFrames' parameters. The topDown and
+     * 'TOP_DOWN' and 'trimStackFrames' parameters. The TOP_DOWN and
      * trimStackFrames are set to 'true' by default (produces jre1.4-like stack
      * trace).
      * 
@@ -352,9 +352,9 @@ public class NestableDelegate implements
             throwable = ExceptionUtils.getCause( throwable );
         }
 
-        // If NOT topDown, reverse the stack
+        // If NOT TOP_DOWN, reverse the stack
         String separatorLine = "Caused by: ";
-        if ( !topDown )
+        if ( !TOP_DOWN )
         {
             separatorLine = "Rethrown as: ";
             Collections.reverse( stacks );



Mime
View raw message