cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing 3.1.x build failure
Date Mon, 12 Dec 2016 10:30:21 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 718892116 -> ec33f44cc


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

Branch: refs/heads/3.1.x-fixes
Commit: ec33f44cc7d7846162b164c7701d9c07fc1ae121
Parents: 7188921
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Dec 12 10:30:04 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Dec 12 10:30:04 2016 +0000

----------------------------------------------------------------------
 .../src/test/java/org/apache/cxf/transport/http/HeadersTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/ec33f44c/rt/transports/http/src/test/java/org/apache/cxf/transport/http/HeadersTest.java
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/test/java/org/apache/cxf/transport/http/HeadersTest.java
b/rt/transports/http/src/test/java/org/apache/cxf/transport/http/HeadersTest.java
index bcb4228..480521c 100755
--- a/rt/transports/http/src/test/java/org/apache/cxf/transport/http/HeadersTest.java
+++ b/rt/transports/http/src/test/java/org/apache/cxf/transport/http/HeadersTest.java
@@ -179,7 +179,7 @@ public class HeadersTest extends Assert {
         // second check - null specified in request, valid content-type specified in message
         // expect that determineContentType returns the content-type specified in the message
         HttpServletRequest req = control.createMock(HttpServletRequest.class);
-        EasyMock.expect(req.getHeaderNames()).andReturn(Collections.emptyEnumeration());
+        EasyMock.expect(req.getHeaderNames()).andReturn(Collections.<String>emptyEnumeration());
         EasyMock.expect(req.getContentType()).andReturn(null).anyTimes();
         control.replay();
         message = new MessageImpl();
@@ -195,7 +195,7 @@ public class HeadersTest extends Assert {
         // expect that determineContentType returns the default value of text/xml
         control = EasyMock.createNiceControl();
         req = control.createMock(HttpServletRequest.class);
-        EasyMock.expect(req.getHeaderNames()).andReturn(Collections.emptyEnumeration());
+        EasyMock.expect(req.getHeaderNames()).andReturn(Collections.<String>emptyEnumeration());
         EasyMock.expect(req.getContentType()).andReturn(null).anyTimes();
         control.replay();
         message = new MessageImpl();


Mime
View raw message