cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf git commit: FIx checkstyle issues
Date Mon, 25 Jul 2016 20:23:16 GMT
Repository: cxf
Updated Branches:
  refs/heads/master c515130f8 -> 955fd4b7f


FIx checkstyle issues


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

Branch: refs/heads/master
Commit: 955fd4b7fee79642934a828b7758ce14f783364a
Parents: c515130
Author: Daniel Kulp <dkulp@apache.org>
Authored: Mon Jul 25 16:22:51 2016 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Mon Jul 25 16:22:51 2016 -0400

----------------------------------------------------------------------
 .../rs/client/SampleRestClientApplication.java  | 29 +++++++++++---------
 .../rs/service/SampleRestApplication.java       |  2 +-
 .../rs/client/SampleRestClientApplication.java  | 21 ++++++++------
 .../registry/eureka/RegistryApplication.java    |  6 ++--
 4 files changed, 33 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/955fd4b7/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/client/SampleRestClientApplication.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/client/SampleRestClientApplication.java
b/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/client/SampleRestClientApplication.java
index 0fed450..8dbf659 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/client/SampleRestClientApplication.java
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/client/SampleRestClientApplication.java
@@ -31,7 +31,10 @@ import sample.rs.service.HelloService;
 @SpringBootApplication
 @EnableJaxRsWebClient
 @EnableJaxRsProxyClient
-public class SampleRestClientApplication {
+public final class SampleRestClientApplication {
+    private SampleRestClientApplication() {
+    }
+    
     public static void main(String[] args) {
         new SpringApplicationBuilder(SampleRestClientApplication.class)
             .web(false)
@@ -40,24 +43,24 @@ public class SampleRestClientApplication {
     @Bean
     CommandLineRunner initWebClientRunner(final WebClient webClient) {
       
-      return new CommandLineRunner() {
+        return new CommandLineRunner() {
 
-        @Override
-        public void run(String... runArgs) throws Exception {
-            System.out.println(webClient.path("sayHello/ApacheCxfWebClientUser").get(String.class));
-        }
-      };
+            @Override
+            public void run(String... runArgs) throws Exception {
+                System.out.println(webClient.path("sayHello/ApacheCxfWebClientUser").get(String.class));
+            }
+        };
     }
     @Bean
     CommandLineRunner initProxyClientRunner(final HelloService client) {
       
-      return new CommandLineRunner() {
+        return new CommandLineRunner() {
 
-        @Override
-        public void run(String... runArgs) throws Exception {
-            System.out.println(client.sayHello("ApacheCxfProxyUser"));
-        }
-      };
+            @Override
+            public void run(String... runArgs) throws Exception {
+                System.out.println(client.sayHello("ApacheCxfProxyUser"));
+            }
+        };
     }
 }
 

http://git-wip-us.apache.org/repos/asf/cxf/blob/955fd4b7/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/java/sample/rs/service/SampleRestApplication.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/java/sample/rs/service/SampleRestApplication.java
b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/java/sample/rs/service/SampleRestApplication.java
index aa8d358..50944a1 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/java/sample/rs/service/SampleRestApplication.java
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/java/sample/rs/service/SampleRestApplication.java
@@ -57,4 +57,4 @@ public class SampleRestApplication {
     }
     
     
- }
+}

http://git-wip-us.apache.org/repos/asf/cxf/blob/955fd4b7/distribution/src/main/release/samples/jax_rs/spring_boot_scan/client/src/main/java/sample/rs/client/SampleRestClientApplication.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/client/src/main/java/sample/rs/client/SampleRestClientApplication.java
b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/client/src/main/java/sample/rs/client/SampleRestClientApplication.java
index 660cec9..43d48a6 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/client/src/main/java/sample/rs/client/SampleRestClientApplication.java
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/client/src/main/java/sample/rs/client/SampleRestClientApplication.java
@@ -44,7 +44,10 @@ import sample.rs.service.HelloService;
 @SpringBootApplication
 @EnableEurekaClient
 @EnableJaxRsProxyClient
-public class SampleRestClientApplication {
+public final class SampleRestClientApplication {
+    private SampleRestClientApplication() {
+    }
+    
     public static void main(String[] args) {
         new SpringApplicationBuilder(SampleRestClientApplication.class)
             .web(false)
@@ -53,13 +56,13 @@ public class SampleRestClientApplication {
     @Bean
     CommandLineRunner initProxyClient(final HelloService service) {
       
-      return new CommandLineRunner() {
-        @Override
-        public void run(String... runArgs) throws Exception {
-            System.out.println(service.sayHello("ApacheCxfProxyUser1"));
-            System.out.println(service.sayHello("ApacheCxfProxyUser2"));
-        }
-      };
+        return new CommandLineRunner() {
+            @Override
+            public void run(String... runArgs) throws Exception {
+                System.out.println(service.sayHello("ApacheCxfProxyUser1"));
+                System.out.println(service.sayHello("ApacheCxfProxyUser2"));
+            }
+        };
     }
 
     /**
@@ -74,7 +77,7 @@ public class SampleRestClientApplication {
         DiscoveryClient discoveryClient;
         List<String> addresses = new LinkedList<String>();
         
-        public EurekaFailoverFeature() {
+        EurekaFailoverFeature() {
             super("eureka://registry");
         }
         

http://git-wip-us.apache.org/repos/asf/cxf/blob/955fd4b7/distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java
b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java
index 2a3cdd4..a481fae 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java
@@ -24,8 +24,10 @@ import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
 
 @SpringBootApplication
 @EnableEurekaServer
-public class RegistryApplication {
-    
+public final class RegistryApplication {
+    private RegistryApplication() {
+    }
+
     public static void main(String[] args) {
         SpringApplication.run(RegistryApplication.class, args);
     }


Mime
View raw message