cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject cxf git commit: [CXF-7254] Fix typo
Date Fri, 24 Feb 2017 13:46:39 GMT
Repository: cxf
Updated Branches:
  refs/heads/master f8651f511 -> 917a3ef2e


[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/917a3ef2
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/917a3ef2
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/917a3ef2

Branch: refs/heads/master
Commit: 917a3ef2e62480a84be2044e6daf185ce0b54d47
Parents: f8651f5
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:46:34 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/917a3ef2/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/917a3ef2/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 50ccb8e..c1cc0f0 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/917a3ef2/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