cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf git commit: Minor checkstyle issues
Date Wed, 29 Jun 2016 16:50:04 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 7fbaec419 -> 6df5deab2


Minor checkstyle issues


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

Branch: refs/heads/master
Commit: 6df5deab24016d07e4099712b07535688d164d94
Parents: 7fbaec4
Author: Daniel Kulp <dkulp@apache.org>
Authored: Wed Jun 29 12:49:25 2016 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Wed Jun 29 12:49:36 2016 -0400

----------------------------------------------------------------------
 .../cxf/databinding/AbstractWrapperHelper.java  |  2 +-
 .../rs/service/SampleScanRestApplication.java   | 33 +++++++++-----------
 .../registry/eureka/RegistryApplication.java    | 23 +++++++++++++-
 .../org/apache/cxf/jaxb/JAXBWrapperHelper.java  |  2 +-
 .../cxf/rt/security/utils/SecurityUtils.java    |  2 +-
 .../org/apache/cxf/ws/rm/DestinationTest.java   |  2 +-
 .../apache/cxf/ws/rm/RMInInterceptorTest.java   |  4 +--
 7 files changed, 43 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/6df5deab/core/src/main/java/org/apache/cxf/databinding/AbstractWrapperHelper.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/databinding/AbstractWrapperHelper.java b/core/src/main/java/org/apache/cxf/databinding/AbstractWrapperHelper.java
index b597c5f..2e62add 100644
--- a/core/src/main/java/org/apache/cxf/databinding/AbstractWrapperHelper.java
+++ b/core/src/main/java/org/apache/cxf/databinding/AbstractWrapperHelper.java
@@ -78,7 +78,7 @@ public abstract class AbstractWrapperHelper implements WrapperHelper {
     }
     
     protected Object getValue(Method method, Object in) throws IllegalAccessException,
-    InvocationTargetException {        
+        InvocationTargetException {        
         return method.invoke(in);    
     }
     

http://git-wip-us.apache.org/repos/asf/cxf/blob/6df5deab/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/java/sample/rs/service/SampleScanRestApplication.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/java/sample/rs/service/SampleScanRestApplication.java
b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/java/sample/rs/service/SampleScanRestApplication.java
index 68db191..2cc9e80 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/java/sample/rs/service/SampleScanRestApplication.java
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/java/sample/rs/service/SampleScanRestApplication.java
@@ -42,26 +42,23 @@ public class SampleScanRestApplication {
     @Bean
     @ExportMetricWriter
     public MetricWriter metricWriter() {
-            return new MetricWriter() {
+        return new MetricWriter() {
 
-                @Override
-                public void set(Metric<?> arg0) {
-                    // TODO Auto-generated method stub
-                    
-                }
+            @Override
+            public void set(Metric<?> arg0) {
+                // TODO Auto-generated method stub
+            }
 
-                @Override
-                public void increment(Delta<?> arg0) {
-                    // TODO Auto-generated method stub
-                    
-                }
+            @Override
+            public void increment(Delta<?> arg0) {
+                // TODO Auto-generated method stub
+            }
 
-                @Override
-                public void reset(String arg0) {
-                    // TODO Auto-generated method stub
-                    
-                }
-                
-            };
+            @Override
+            public void reset(String arg0) {
+                // TODO Auto-generated method stub
+            }
+            
+        };
     }
 }

http://git-wip-us.apache.org/repos/asf/cxf/blob/6df5deab/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 2997259..91b3ff2 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
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package registry.eureka;
 
 import org.springframework.boot.SpringApplication;
@@ -6,7 +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);

http://git-wip-us.apache.org/repos/asf/cxf/blob/6df5deab/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBWrapperHelper.java
----------------------------------------------------------------------
diff --git a/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBWrapperHelper.java
b/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBWrapperHelper.java
index ad3c688..8f252c3 100644
--- a/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBWrapperHelper.java
+++ b/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBWrapperHelper.java
@@ -53,7 +53,7 @@ public class JAXBWrapperHelper extends AbstractWrapperHelper {
     
     @Override
     protected Object getValue(Method method, Object in) throws IllegalAccessException,
-    InvocationTargetException {
+        InvocationTargetException {
         if ("javax.xml.bind.JAXBElement".equals(method.getReturnType().getCanonicalName()))
{
             JAXBElement<?> je = (JAXBElement<?>)method.invoke(in);
             return je == null ? je : je.getValue();

http://git-wip-us.apache.org/repos/asf/cxf/blob/6df5deab/rt/security/src/main/java/org/apache/cxf/rt/security/utils/SecurityUtils.java
----------------------------------------------------------------------
diff --git a/rt/security/src/main/java/org/apache/cxf/rt/security/utils/SecurityUtils.java
b/rt/security/src/main/java/org/apache/cxf/rt/security/utils/SecurityUtils.java
index b679edb..6b0bd31 100644
--- a/rt/security/src/main/java/org/apache/cxf/rt/security/utils/SecurityUtils.java
+++ b/rt/security/src/main/java/org/apache/cxf/rt/security/utils/SecurityUtils.java
@@ -48,7 +48,7 @@ public final class SecurityUtils {
     }
 
     public static CallbackHandler getCallbackHandler(Object o) throws InstantiationException,

-    IllegalAccessException, ClassNotFoundException {
+        IllegalAccessException, ClassNotFoundException {
         CallbackHandler handler = null;
         if (o instanceof CallbackHandler) {
             handler = (CallbackHandler)o;

http://git-wip-us.apache.org/repos/asf/cxf/blob/6df5deab/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationTest.java
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationTest.java b/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationTest.java
index 2288247..b5fcc59 100644
--- a/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationTest.java
+++ b/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationTest.java
@@ -131,7 +131,7 @@ public class DestinationTest extends Assert {
     
     @Test
     public void testAcknowledgeAlreadyAcknowledgedMessage() throws SequenceFault, RMException,

-    NoSuchMethodException, IOException {
+        NoSuchMethodException, IOException {
         
         Method m1 = Destination.class.getDeclaredMethod("getSequence", new Class[] {Identifier.class});
         destination = EasyMock.createMockBuilder(Destination.class)

http://git-wip-us.apache.org/repos/asf/cxf/blob/6df5deab/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMInInterceptorTest.java
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMInInterceptorTest.java b/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMInInterceptorTest.java
index a68d821..2b5c47c 100644
--- a/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMInInterceptorTest.java
+++ b/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMInInterceptorTest.java
@@ -131,8 +131,8 @@ public class RMInInterceptorTest extends Assert {
         testHandleSequenceAck(true);
     }
     
-    private void testHandleSequenceAck(boolean onServer) throws SequenceFault, RMException,

-    NoSuchMethodException {
+    private void testHandleSequenceAck(boolean onServer)  
+        throws SequenceFault, RMException, NoSuchMethodException {
         Method m = RMInInterceptor.class.getDeclaredMethod("processAcknowledgments",
             new Class[] {RMEndpoint.class, RMProperties.class, ProtocolVariation.class});
         interceptor =


Mime
View raw message