cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [1/2] cxf git commit: Fixing 3.1.x build failure
Date Mon, 27 Feb 2017 11:04:52 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes ee2cc36e4 -> c505778b1


Fixing 3.1.x build failure


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

Branch: refs/heads/3.1.x-fixes
Commit: 283f28dd309a654b5e300244f7c3daa689911a81
Parents: ee2cc36
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Feb 27 10:54:01 2017 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Feb 27 10:54:01 2017 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/ext/logging/event/PrintWriterEventSender.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/283f28dd/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 efaf793..2dfaee8 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
@@ -20,7 +20,7 @@
 package org.apache.cxf.ext.logging.event;
 
 import java.io.PrintWriter;
-import java.time.Instant;
+import java.util.Date;
 
 /**
  * 
@@ -36,7 +36,7 @@ public class PrintWriterEventSender implements LogEventSender {
     @Override
     public void send(LogEvent event) {
         synchronized (writer) {
-            writer.print(Instant.now().toString() + " - PrintWriterEventSender");
+            writer.print(new Date().toString() + " - PrintWriterEventSender");
             writer.print(LogMessageFormatter.format(event));
         }
     }


Mime
View raw message