cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Minor JAXRS20 test update
Date Fri, 15 Jul 2016 07:44:27 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 968b1de87 -> 9bf166b3c


Minor JAXRS20 test update


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

Branch: refs/heads/3.0.x-fixes
Commit: 9bf166b3c749d3ccd6116c677e81960e357c576a
Parents: 968b1de
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Jul 15 10:42:02 2016 +0300
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Jul 15 10:44:12 2016 +0300

----------------------------------------------------------------------
 .../apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/9bf166b3/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
index 8fd22e5..52279ec 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
@@ -152,8 +152,8 @@ public class JAXRS20ClientServerBookTest extends AbstractBusClientServerTestBase
         Client client = ClientBuilder.newClient();
         client.register((Object)ClientFilterClientAndConfigCheck.class);
         client.property("clientproperty", "somevalue");
-        Invocation.Builder builder = client.target(address).request("application/xml");
-        builder.header("a", "b");
+        Invocation.Builder builder = client.target(address)
+            .request("application/xml").header("a", "b");
         Response r = builder.get();
         Book book = r.readEntity(Book.class);
         assertEquals(124L, book.getId());


Mime
View raw message