cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [08/20] cxf git commit: Minor JAXRS20 test update
Date Sat, 16 Jul 2016 15:53:32 GMT
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/8896e4ba
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/8896e4ba
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/8896e4ba

Branch: refs/heads/master-jaxrs-2.1
Commit: 8896e4ba73374577c7a873102e0c8d416dfacdb8
Parents: e40e063
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:42:02 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/8896e4ba/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 2deddfa..c19472f 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