logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1405571 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/OptionConverter.java
Date Sun, 04 Nov 2012 15:46:15 GMT
Author: ggregory
Date: Sun Nov  4 15:46:15 2012
New Revision: 1405571

URL: http://svn.apache.org/viewvc?rev=1405571&view=rev
Log:
Replace "dEfault" with "defaultValue".

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/OptionConverter.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/OptionConverter.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/OptionConverter.java?rev=1405571&r1=1405570&r2=1405571&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/OptionConverter.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/helpers/OptionConverter.java
Sun Nov  4 15:46:15 2012
@@ -164,12 +164,12 @@ public final class OptionConverter {
     /**
      *
      * @param value The size of the file as a String.
-     * @param dEfault The default value.
+     * @param defaultValue The default value.
      * @return The size of the file as a long.
      */
-    public static long toFileSize(String value, long dEfault) {
+    public static long toFileSize(String value, long defaultValue) {
         if (value == null) {
-            return dEfault;
+            return defaultValue;
         }
 
         String s = value.trim().toUpperCase();
@@ -194,7 +194,7 @@ public final class OptionConverter {
                 LOGGER.error("[" + value + "] not in expected format.", e);
             }
         }
-        return dEfault;
+        return defaultValue;
     }
 
     /**



Mime
View raw message