cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gma...@apache.org
Subject svn commit: r1089888 - in /cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs: client/Client.java server/Server.java
Date Thu, 07 Apr 2011 14:11:55 GMT
Author: gmazza
Date: Thu Apr  7 14:11:54 2011
New Revision: 1089888

URL: http://svn.apache.org/viewvc?rev=1089888&view=rev
Log:
Fixed checkstyle errors

Modified:
    cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs/server/Server.java

Modified: cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs/client/Client.java?rev=1089888&r1=1089887&r2=1089888&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs/client/Client.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs/client/Client.java
Thu Apr  7 14:11:54 2011
@@ -40,9 +40,9 @@ public final class Client {
         File truststore = new File(args[1]);
 
         Protocol authhttps = new Protocol("https",
-            new AuthSSLProtocolSocketFactory(wibble.toURL(), "password",
-            truststore.toURL(), "password"),
-            9000);
+                new AuthSSLProtocolSocketFactory(wibble.toURL(), "password",
+                truststore.toURL(), "password"),
+                9000);
         Protocol.registerProtocol("https", authhttps);
 
         // Sent HTTP GET request to query customer info

Modified: cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs/server/Server.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs/server/Server.java?rev=1089888&r1=1089887&r2=1089888&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs/server/Server.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/src/main/java/jaxrs/server/Server.java
Thu Apr  7 14:11:54 2011
@@ -27,14 +27,14 @@ import org.apache.cxf.jaxrs.lifecycle.Si
 
 public class Server {
 
-   static {
-      // set the configuration file
-      SpringBusFactory factory = new SpringBusFactory();
-      Bus bus = factory.createBus("ServerConfig.xml");
-      BusFactory.setDefaultBus(bus);
-   }
+    static {
+        // set the configuration file
+        SpringBusFactory factory = new SpringBusFactory();
+        Bus bus = factory.createBus("ServerConfig.xml");
+        BusFactory.setDefaultBus(bus);
+    }
    
-   protected Server() throws Exception {
+    protected Server() throws Exception {
         JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
         sf.setResourceClasses(CustomerService.class);
         sf.setResourceProvider(CustomerService.class, 



Mime
View raw message