cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject [3/4] cxf git commit: [CXF-7254] Fix typo
Date Fri, 24 Feb 2017 14:04:40 GMT
[CXF-7254] Fix typo


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/add75860
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/add75860
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/add75860

Branch: refs/heads/3.1.x-fixes
Commit: add75860c8328c205cee3a4fb8848bea717fd8d7
Parents: ee986f5
Author: Christian Schneider <chris@die-schneider.net>
Authored: Fri Feb 24 14:46:34 2017 +0100
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Fri Feb 24 14:48:47 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/cxf/ext/logging/event/LogMessageFormatter.java | 2 +-
 .../org/apache/cxf/ext/logging/event/PrintWriterEventSender.java   | 2 +-
 .../org/apache/cxf/ext/logging/slf4j/Slf4jVerboseEventSender.java  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/add75860/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/LogMessageFormatter.java
----------------------------------------------------------------------
diff --git a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/LogMessageFormatter.java
b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/LogMessageFormatter.java
index 4ec8cb1..a6491d7 100644
--- a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/LogMessageFormatter.java
+++ b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/LogMessageFormatter.java
@@ -31,7 +31,7 @@ public final class LogMessageFormatter {
     private LogMessageFormatter() {
     }
     
-    public static String fomat(LogEvent event) {
+    public static String format(LogEvent event) {
         StringBuilder b = new StringBuilder();
         write(b, "Type", event.getType().toString());
         write(b, "Address", event.getAddress());

http://git-wip-us.apache.org/repos/asf/cxf/blob/add75860/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/PrintWriterEventSender.java
----------------------------------------------------------------------
diff --git a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/PrintWriterEventSender.java
b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/PrintWriterEventSender.java
index fbce52d..b1c768c 100644
--- a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/PrintWriterEventSender.java
+++ b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/event/PrintWriterEventSender.java
@@ -37,7 +37,7 @@ public class PrintWriterEventSender implements LogEventSender {
     public void send(LogEvent event) {
         synchronized (writer) {
             writer.println(Instant.now().toString() + " - PrintWriterEventSender");
-            writer.print(LogMessageFormatter.fomat(event));
+            writer.print(LogMessageFormatter.format(event));
         }
     }
     

http://git-wip-us.apache.org/repos/asf/cxf/blob/add75860/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/slf4j/Slf4jVerboseEventSender.java
----------------------------------------------------------------------
diff --git a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/slf4j/Slf4jVerboseEventSender.java
b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/slf4j/Slf4jVerboseEventSender.java
index 7b74da3..2d46434 100644
--- a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/slf4j/Slf4jVerboseEventSender.java
+++ b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/slf4j/Slf4jVerboseEventSender.java
@@ -25,7 +25,7 @@ public class Slf4jVerboseEventSender extends Slf4jEventSender {
 
     @Override
     protected String getLogMessage(LogEvent event) {
-        return LogMessageFormatter.fomat(event);
+        return LogMessageFormatter.format(event);
     }
 
 }


Mime
View raw message