cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r794725 - in /cxf/branches/2.0.x-fixes/distribution/src/main/release/samples: groovy_spring_support/src/demo/spring/client/ in_jvm_transport/src/demo/colocated/client/ java_first_pojo/src/demo/hw/client/ java_first_spring_support/src/demo/s...
Date Thu, 16 Jul 2009 15:57:14 GMT
Author: dkulp
Date: Thu Jul 16 15:57:13 2009
New Revision: 794725

URL: http://svn.apache.org/viewvc?rev=794725&view=rev
Log:
Fix checkstyle issues in samples

Modified:
    cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/Client.java
    cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/in_jvm_transport/src/demo/colocated/client/Client.java
    cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/client/Client.java
    cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/java_first_spring_support/src/demo/spring/client/Client.java
    cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java
    cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/jaxws_handlers/src/demo/handlers/client/Client.java
    cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/ruby_spring_support/src/demo/spring/client/Client.java
    cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/client/Client.java

Modified: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/Client.java?rev=794725&r1=794724&r2=794725&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/Client.java
(original)
+++ cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/Client.java
Thu Jul 16 15:57:13 2009
@@ -18,10 +18,11 @@
  */
 package demo.spring.client;
 
+import demo.spring.HelloWorld;
+
 import org.springframework.context.support.ClassPathXmlApplicationContext;
 
 
-import demo.spring.HelloWorld;
 
 
 public final class Client {

Modified: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/in_jvm_transport/src/demo/colocated/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/in_jvm_transport/src/demo/colocated/client/Client.java?rev=794725&r1=794724&r2=794725&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/in_jvm_transport/src/demo/colocated/client/Client.java
(original)
+++ cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/in_jvm_transport/src/demo/colocated/client/Client.java
Thu Jul 16 15:57:13 2009
@@ -23,12 +23,13 @@
 import java.net.URL;
 import javax.xml.namespace.QName;
 
+import demo.colocated.server.Server;
+
 import org.apache.hello_world_soap_http.Greeter;
 import org.apache.hello_world_soap_http.PingMeFault;
 import org.apache.hello_world_soap_http.SOAPService;
 import org.apache.hello_world_soap_http.types.FaultDetail;
 
-import demo.colocated.server.Server;
 
 public final class Client {
 

Modified: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/client/Client.java?rev=794725&r1=794724&r2=794725&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/client/Client.java
(original)
+++ cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/client/Client.java
Thu Jul 16 15:57:13 2009
@@ -19,9 +19,10 @@
 
 package demo.hw.client;
 
-import org.apache.cxf.frontend.ClientProxyFactoryBean;
 import demo.hw.server.HelloWorld;
 
+import org.apache.cxf.frontend.ClientProxyFactoryBean;
+
 public final class Client {
 
     private Client() {

Modified: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/java_first_spring_support/src/demo/spring/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/java_first_spring_support/src/demo/spring/client/Client.java?rev=794725&r1=794724&r2=794725&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/java_first_spring_support/src/demo/spring/client/Client.java
(original)
+++ cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/java_first_spring_support/src/demo/spring/client/Client.java
Thu Jul 16 15:57:13 2009
@@ -18,11 +18,10 @@
  */
 package demo.spring.client;
 
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-
 import demo.spring.HelloWorld;
 
+import org.springframework.context.support.ClassPathXmlApplicationContext;
+
 
 public final class Client {
 

Modified: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java?rev=794725&r1=794724&r2=794725&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java
(original)
+++ cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/client/Client.java
Thu Jul 16 15:57:13 2009
@@ -119,8 +119,11 @@
         System.out.println("Invoking server through Dispatch interface using DOMSource in
PAYLOAD Mode");
         DOMSource domRespPayload = dispDOMSrcPayload.invoke(domReqPayload);
 
-        System.out.println("Response from server: "
-                           + fetchElementByName(domRespPayload.getNode(), "greetMeResponse").getTextContent());
+        Element responseEl = fetchElementByName(domRespPayload.getNode(), "greetMeResponse");
+        if (responseEl == null) {
+            responseEl = fetchElementByName(domRespPayload.getNode(), "responseType");
+        }
+        System.out.println("Response from server: " + el.getTextContent());
 
         System.exit(0);
     }

Modified: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/jaxws_handlers/src/demo/handlers/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/jaxws_handlers/src/demo/handlers/client/Client.java?rev=794725&r1=794724&r2=794725&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/jaxws_handlers/src/demo/handlers/client/Client.java
(original)
+++ cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/jaxws_handlers/src/demo/handlers/client/Client.java
Thu Jul 16 15:57:13 2009
@@ -28,11 +28,12 @@
 import javax.xml.ws.BindingProvider;
 import javax.xml.ws.handler.Handler;
 
+import demo.handlers.common.SmallNumberHandler;
+
 import org.apache.handlers.AddNumbers;
 import org.apache.handlers.AddNumbersFault;
 import org.apache.handlers.AddNumbersService;
 
-import demo.handlers.common.SmallNumberHandler;
 
 public final class Client {
 

Modified: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/ruby_spring_support/src/demo/spring/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/ruby_spring_support/src/demo/spring/client/Client.java?rev=794725&r1=794724&r2=794725&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/ruby_spring_support/src/demo/spring/client/Client.java
(original)
+++ cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/ruby_spring_support/src/demo/spring/client/Client.java
Thu Jul 16 15:57:13 2009
@@ -18,10 +18,10 @@
  */
 package demo.spring.client;
 
+import demo.spring.HelloWorld;
 
 import org.springframework.context.support.ClassPathXmlApplicationContext;
 
-import demo.spring.HelloWorld;
 
 
 public final class Client {

Modified: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/client/Client.java?rev=794725&r1=794724&r2=794725&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/client/Client.java
(original)
+++ cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/ws_rm/src/demo/ws_rm/client/Client.java
Thu Jul 16 15:57:13 2009
@@ -21,13 +21,14 @@
 
 import java.lang.reflect.UndeclaredThrowableException;
 
+import demo.ws_rm.common.MessageLossSimulator;
+
+
 import org.apache.cxf.Bus;
 import org.apache.cxf.bus.spring.SpringBusFactory;
 import org.apache.cxf.hello_world_soap_http.Greeter;
 import org.apache.cxf.hello_world_soap_http.GreeterService;
 
-import demo.ws_rm.common.MessageLossSimulator;
-
 
 public final class Client {
     



Mime
View raw message