logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1397206 - /logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
Date Thu, 11 Oct 2012 18:06:12 GMT
Author: ggregory
Date: Thu Oct 11 18:06:11 2012
New Revision: 1397206

URL: http://svn.apache.org/viewvc?rev=1397206&view=rev
Log:
Rename private method exitMsg -> toExitMsg

Modified:
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java?rev=1397206&r1=1397205&r2=1397206&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
Thu Oct 11 18:06:11 2012
@@ -102,7 +102,7 @@ public abstract class AbstractLogger imp
      */
     public void exit() {
         if (isEnabled(Level.TRACE, EXIT_MARKER, (Object) null, null)) {
-            log(EXIT_MARKER, FQCN, Level.TRACE, exitMsg(null), null);
+            log(EXIT_MARKER, FQCN, Level.TRACE, toExitMsg(null), null);
         }
     }
 
@@ -115,7 +115,7 @@ public abstract class AbstractLogger imp
      */
     public <R> R exit(R result) {
         if (isEnabled(Level.TRACE, EXIT_MARKER, (Object) null, null)) {
-            log(EXIT_MARKER, FQCN, Level.TRACE, exitMsg(result), null);
+            log(EXIT_MARKER, FQCN, Level.TRACE, toExitMsg(result), null);
         }
         return result;
     }
@@ -1453,7 +1453,7 @@ public abstract class AbstractLogger imp
         return new SimpleMessage(sb.toString());
     }
 
-    private Message exitMsg(Object result) {
+    private Message toExitMsg(Object result) {
         if (result == null) {
             return new SimpleMessage(" exit");
         }



Mime
View raw message