cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Fixing samples
Date Wed, 06 Apr 2016 13:05:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 47a5c5606 -> 20a3ddb13


Fixing samples


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

Branch: refs/heads/3.0.x-fixes
Commit: 20a3ddb13f3daac3f6d437491fda8b3618e2736c
Parents: 47a5c56
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Wed Apr 6 14:03:31 2016 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Wed Apr 6 14:05:30 2016 +0100

----------------------------------------------------------------------
 .../src/main/java/demo/hw/client/Get.java                        | 4 ++--
 .../src/main/java/demo/restful/client/Client.java                | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/20a3ddb1/distribution/src/main/release/samples/js_browser_client_simple/src/main/java/demo/hw/client/Get.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/js_browser_client_simple/src/main/java/demo/hw/client/Get.java
b/distribution/src/main/release/samples/js_browser_client_simple/src/main/java/demo/hw/client/Get.java
index 92f04c4..e47fdf5 100644
--- a/distribution/src/main/release/samples/js_browser_client_simple/src/main/java/demo/hw/client/Get.java
+++ b/distribution/src/main/release/samples/js_browser_client_simple/src/main/java/demo/hw/client/Get.java
@@ -104,8 +104,8 @@ public final class Get {
             Transformer transformer = transformerFactory.newTransformer();
             Properties oprops = new Properties();
             oprops.put(OutputKeys.OMIT_XML_DECLARATION, "yes");
-            trans.setOutputProperties(oprops);
-            trans.transform(source, sr);
+            transformer.setOutputProperties(oprops);
+            transformer.transform(source, sr);
             System.out.println();
             System.out.println("**** Response ******");
             System.out.println();

http://git-wip-us.apache.org/repos/asf/cxf/blob/20a3ddb1/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/Client.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/Client.java
b/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/Client.java
index 7f99764..ff28e4c 100644
--- a/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/Client.java
+++ b/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/Client.java
@@ -97,8 +97,8 @@ public final class Client {
             Transformer transformer = transformerFactory.newTransformer();
             Properties oprops = new Properties();
             oprops.put(OutputKeys.OMIT_XML_DECLARATION, "yes");
-            trans.setOutputProperties(oprops);
-            trans.transform(source, sr);
+            transformer.setOutputProperties(oprops);
+            transformer.transform(source, sr);
             System.out.println("**** Response ******");
             System.out.println(bos.toString());
             bos.close();


Mime
View raw message