[1/2] cxf git commit: Fix checkstyle issue

2017-09-01 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master 0e844a78e -> 171dc6c8c


Fix checkstyle issue


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

Branch: refs/heads/master
Commit: 22f96485440b5944223c07e997cfd4d798e15338
Parents: 0e844a7
Author: Daniel Kulp 
Authored: Fri Sep 1 15:15:37 2017 -0400
Committer: Daniel Kulp 
Committed: Fri Sep 1 15:15:37 2017 -0400

--
 .../websocket/atmosphere/AtmosphereWebSocketJettyDestination.java   | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/22f96485/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/AtmosphereWebSocketJettyDestination.java
--
diff --git 
a/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/AtmosphereWebSocketJettyDestination.java
 
b/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/AtmosphereWebSocketJettyDestination.java
index d62f746..6f32514 100644
--- 
a/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/AtmosphereWebSocketJettyDestination.java
+++ 
b/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/AtmosphereWebSocketJettyDestination.java
@@ -51,7 +51,6 @@ import org.atmosphere.cpr.AtmosphereResponseImpl;
 import org.atmosphere.handler.AbstractReflectorAtmosphereHandler;
 import org.atmosphere.util.VoidServletConfig;
 import org.eclipse.jetty.server.Request;
-import org.eclipse.jetty.util.DecoratedObjectFactory;
 import org.springframework.util.ClassUtils;
 
 



[5/6] cxf git commit: Fix checkstyle issues after merges

2017-06-08 Thread dkulp
Fix checkstyle issues after merges


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

Branch: refs/heads/3.1.x-fixes
Commit: 4feb04b9b96bddec2bcd6edbae15e29c1c2765bc
Parents: 621769d
Author: Daniel Kulp 
Authored: Thu Jun 8 13:02:22 2017 -0400
Committer: Daniel Kulp 
Committed: Thu Jun 8 13:02:22 2017 -0400

--
 .../cxf/ws/rm/soap/RMSoapOutInterceptor.java  |  8 
 .../cxf/ws/rm/soap/RMSoapOutInterceptorTest.java  | 18 +-
 .../org/apache/cxf/systest/ws/rm/ControlImpl.java |  2 +-
 3 files changed, 14 insertions(+), 14 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/4feb04b9/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapOutInterceptor.java
--
diff --git 
a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapOutInterceptor.java 
b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapOutInterceptor.java
index cb070ad..5ed2734 100644
--- a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapOutInterceptor.java
+++ b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapOutInterceptor.java
@@ -131,9 +131,9 @@ public class RMSoapOutInterceptor extends 
AbstractSoapInterceptor {
 int startSize = headers.size();
 protocol.getCodec().buildHeaders(rmps, headers);
 if (startSize != headers.size() && 
MessageUtils.isPartialResponse(message)) {
-// make sure the response is returned as HTTP 200 and not 
202
-message.put(Message.RESPONSE_CODE, 
HttpURLConnection.HTTP_OK);
-}
+// make sure the response is returned as HTTP 200 and not 202
+message.put(Message.RESPONSE_CODE, HttpURLConnection.HTTP_OK);
+}
 } catch (JAXBException je) {
 LOG.log(Level.WARNING, "SOAP_HEADER_ENCODE_FAILURE_MSG", je);
 }
@@ -160,4 +160,4 @@ public class RMSoapOutInterceptor extends 
AbstractSoapInterceptor {
 LOG.log(Level.WARNING, "SOAP_HEADER_ENCODE_FAILURE_MSG", je);
 }
 }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/cxf/blob/4feb04b9/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/soap/RMSoapOutInterceptorTest.java
--
diff --git 
a/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/soap/RMSoapOutInterceptorTest.java
 
b/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/soap/RMSoapOutInterceptorTest.java
index 0056673..d5da583 100644
--- 
a/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/soap/RMSoapOutInterceptorTest.java
+++ 
b/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/soap/RMSoapOutInterceptorTest.java
@@ -274,18 +274,18 @@ public class RMSoapOutInterceptorTest extends Assert {
 namespace = elem.getNamespaceURI();
 localName = elem.getLocalName();
 }
-if (RM10Constants.NAMESPACE_URI.equals(namespace)
-&& localName.equals(name)) {
-found = true;
+if (RM10Constants.NAMESPACE_URI.equals(namespace)
+&& localName.equals(name)) {
+found = true;
 iter.remove();
-break;
-} else if (Names.WSA_NAMESPACE_NAME.equals(namespace)
-&& localName.equals(name)) {
-found = true;
+break;
+} else if (Names.WSA_NAMESPACE_NAME.equals(namespace)
+&& localName.equals(name)) {
+found = true;
 iter.remove();
-break;
-}
+break;
 }
+}
 assertTrue("Could not find header element " + name, found);
 }
 

http://git-wip-us.apache.org/repos/asf/cxf/blob/4feb04b9/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ControlImpl.java
--
diff --git 
a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ControlImpl.java 
b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ControlImpl.java
index 10a8127..37490e3 100644
--- a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ControlImpl.java
+++ b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ControlImpl.java
@@ -66,7 +66,7 @@ public class ControlImpl  extends 
org.apache.cxf.greeter_control.ControlImpl {
 if (StringUtils.isEmpty(cfgResource)) {
 greeterBus = bf.createBus();
 } e

[1/2] cxf git commit: Fix checkstyle issues

2017-04-04 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 4406683df -> b6d71af8b


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/b7cd8559
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b7cd8559
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b7cd8559

Branch: refs/heads/3.1.x-fixes
Commit: b7cd8559dfd6a178af0945d0151f21c48f153522
Parents: 4406683
Author: Daniel Kulp 
Authored: Tue Apr 4 14:17:51 2017 -0400
Committer: Daniel Kulp 
Committed: Tue Apr 4 14:17:51 2017 -0400

--
 .../sample/rs/service/SampleRestApplicationTest.java |  8 +---
 .../sample/rs/service/SampleRestApplicationTest.java |  8 +---
 .../java/sample/ws/service/SampleWsApplicationTest.java  | 11 ++-
 3 files changed, 16 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/b7cd8559/distribution/src/main/release/samples/jax_rs/spring_boot/src/test/java/sample/rs/service/SampleRestApplicationTest.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/spring_boot/src/test/java/sample/rs/service/SampleRestApplicationTest.java
 
b/distribution/src/main/release/samples/jax_rs/spring_boot/src/test/java/sample/rs/service/SampleRestApplicationTest.java
index 70d5e1c..b783201 100644
--- 
a/distribution/src/main/release/samples/jax_rs/spring_boot/src/test/java/sample/rs/service/SampleRestApplicationTest.java
+++ 
b/distribution/src/main/release/samples/jax_rs/spring_boot/src/test/java/sample/rs/service/SampleRestApplicationTest.java
@@ -19,14 +19,16 @@
 package sample.rs.service;
 
 import org.apache.cxf.jaxrs.client.WebClient;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
 import org.springframework.boot.context.embedded.LocalServerPort;
 import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
 import org.springframework.test.context.junit4.SpringRunner;
 
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
 
 
 @RunWith(SpringRunner.class)

http://git-wip-us.apache.org/repos/asf/cxf/blob/b7cd8559/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/test/java/sample/rs/service/SampleRestApplicationTest.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/test/java/sample/rs/service/SampleRestApplicationTest.java
 
b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/test/java/sample/rs/service/SampleRestApplicationTest.java
index 70d5e1c..b783201 100644
--- 
a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/test/java/sample/rs/service/SampleRestApplicationTest.java
+++ 
b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/test/java/sample/rs/service/SampleRestApplicationTest.java
@@ -19,14 +19,16 @@
 package sample.rs.service;
 
 import org.apache.cxf.jaxrs.client.WebClient;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
 import org.springframework.boot.context.embedded.LocalServerPort;
 import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
 import org.springframework.test.context.junit4.SpringRunner;
 
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
 
 
 @RunWith(SpringRunner.class)

http://git-wip-us.apache.org/repos/asf/cxf/blob/b7cd8559/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
--
diff --git 
a/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
 
b/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
index 13e68eb..53f7277 100644
--- 
a/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
+++ 
b/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
@@ -18,13 +18,17 @@
  */
 package sample.ws.service;
 
-import static org.hamcrest.Matchers.containsString;
 
 import java.io.StringReader;
 
 import javax.xml.transform.stream.StreamResult;
 import javax.xml.transform.stream.StreamSource;
 
+import org.junit.Before;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
 import org.springframework.boot.context.embedded.LocalServer

cxf git commit: Fix checkstyle issues

2017-03-22 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master db5c2ef07 -> 20951aeac


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/20951aea
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/20951aea
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/20951aea

Branch: refs/heads/master
Commit: 20951aeac115e7ae95f4d4cc04da288d2f47e4b2
Parents: db5c2ef
Author: Daniel Kulp 
Authored: Wed Mar 22 13:38:52 2017 -0400
Committer: Daniel Kulp 
Committed: Wed Mar 22 13:38:52 2017 -0400

--
 .../sample/rs/service/SampleRestApplicationTest.java |  9 +
 .../sample/rs/service/SampleRestApplicationTest.java |  9 +
 .../java/sample/ws/service/SampleWsApplicationTest.java  | 11 ++-
 3 files changed, 16 insertions(+), 13 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/20951aea/distribution/src/main/release/samples/jax_rs/spring_boot/src/test/java/sample/rs/service/SampleRestApplicationTest.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/spring_boot/src/test/java/sample/rs/service/SampleRestApplicationTest.java
 
b/distribution/src/main/release/samples/jax_rs/spring_boot/src/test/java/sample/rs/service/SampleRestApplicationTest.java
index 70d5e1c..d85654a 100644
--- 
a/distribution/src/main/release/samples/jax_rs/spring_boot/src/test/java/sample/rs/service/SampleRestApplicationTest.java
+++ 
b/distribution/src/main/release/samples/jax_rs/spring_boot/src/test/java/sample/rs/service/SampleRestApplicationTest.java
@@ -19,15 +19,16 @@
 package sample.rs.service;
 
 import org.apache.cxf.jaxrs.client.WebClient;
-import org.springframework.boot.context.embedded.LocalServerPort;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
-import org.springframework.test.context.junit4.SpringRunner;
 
 import org.junit.Assert;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+import org.springframework.boot.context.embedded.LocalServerPort;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
+import org.springframework.test.context.junit4.SpringRunner;
+
 
 @RunWith(SpringRunner.class)
 @SpringBootTest(classes = SampleRestApplication.class, webEnvironment = 
WebEnvironment.RANDOM_PORT)

http://git-wip-us.apache.org/repos/asf/cxf/blob/20951aea/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/test/java/sample/rs/service/SampleRestApplicationTest.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/test/java/sample/rs/service/SampleRestApplicationTest.java
 
b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/test/java/sample/rs/service/SampleRestApplicationTest.java
index 70d5e1c..d85654a 100644
--- 
a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/test/java/sample/rs/service/SampleRestApplicationTest.java
+++ 
b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/test/java/sample/rs/service/SampleRestApplicationTest.java
@@ -19,15 +19,16 @@
 package sample.rs.service;
 
 import org.apache.cxf.jaxrs.client.WebClient;
-import org.springframework.boot.context.embedded.LocalServerPort;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
-import org.springframework.test.context.junit4.SpringRunner;
 
 import org.junit.Assert;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+import org.springframework.boot.context.embedded.LocalServerPort;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
+import org.springframework.test.context.junit4.SpringRunner;
+
 
 @RunWith(SpringRunner.class)
 @SpringBootTest(classes = SampleRestApplication.class, webEnvironment = 
WebEnvironment.RANDOM_PORT)

http://git-wip-us.apache.org/repos/asf/cxf/blob/20951aea/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
--
diff --git 
a/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
 
b/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java
index 13e68eb..53f7277 100644
--- 
a/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/Samp

cxf git commit: Fix checkstyle

2017-02-13 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master ce526061c -> 7eb2d58fa


Fix checkstyle


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

Branch: refs/heads/master
Commit: 7eb2d58faacb2dd57c1eddea99c59a8b17807faf
Parents: ce52606
Author: Daniel Kulp 
Authored: Mon Feb 13 12:13:13 2017 -0500
Committer: Daniel Kulp 
Committed: Mon Feb 13 12:13:13 2017 -0500

--
 rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/SseImpl.java  | 2 +-
 .../cxf/jaxrs/sse/atmosphere/SseAtmosphereEventSinkImpl.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/7eb2d58f/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/SseImpl.java
--
diff --git a/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/SseImpl.java 
b/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/SseImpl.java
index 9327c3f..75d13c2 100644
--- a/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/SseImpl.java
+++ b/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/SseImpl.java
@@ -19,8 +19,8 @@
 package org.apache.cxf.jaxrs.sse;
 
 import javax.ws.rs.sse.OutboundSseEvent.Builder;
-import javax.ws.rs.sse.SseBroadcaster;
 import javax.ws.rs.sse.Sse;
+import javax.ws.rs.sse.SseBroadcaster;
 
 class SseImpl implements Sse {
 SseImpl() {

http://git-wip-us.apache.org/repos/asf/cxf/blob/7eb2d58f/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/atmosphere/SseAtmosphereEventSinkImpl.java
--
diff --git 
a/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/atmosphere/SseAtmosphereEventSinkImpl.java
 
b/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/atmosphere/SseAtmosphereEventSinkImpl.java
index c930589..b1d7c7d 100644
--- 
a/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/atmosphere/SseAtmosphereEventSinkImpl.java
+++ 
b/rt/rs/sse/src/main/java/org/apache/cxf/jaxrs/sse/atmosphere/SseAtmosphereEventSinkImpl.java
@@ -112,7 +112,7 @@ public class SseAtmosphereEventSinkImpl implements 
SseEventSink {
 } catch (final TimeoutException ex) {
 LOG.warning("SSE Atmosphere response was not delivered 
within default timeout");
 }
-} catch(final IOException ex) {
+} catch (final IOException ex) {
 LOG.warning("While writing the SSE event, an exception was 
raised: " + ex);
 }
 }



[5/6] cxf git commit: Fix checkstyle issues in samples

2016-11-23 Thread dkulp
Fix checkstyle issues in samples

# Conflicts:
#   
distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/SparkUtils.java
#   
distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/Server.java
#   
distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/StreamingService.java


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

Branch: refs/heads/3.1.x-fixes
Commit: a8f1f095ecddd639d1496c1fa6189ebf2e371716
Parents: 2164a19
Author: Daniel Kulp 
Authored: Wed Nov 23 09:39:03 2016 -0500
Committer: Daniel Kulp 
Committed: Wed Nov 23 10:53:07 2016 -0500

--
 .../src/main/java/sample/rs/service/SampleRestApplication.java  | 5 +++--
 .../src/main/java/registry/eureka/RegistryApplication.java  | 4 ++--
 .../src/main/java/sample/ws/SampleWsApplicationClient.java  | 4 +++-
 3 files changed, 8 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/a8f1f095/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 e146a7f..35bf34a 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
@@ -19,6 +19,8 @@
 package sample.rs.service;
 import java.util.Collections;
 
+import com.codahale.metrics.MetricRegistry;
+
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.actuate.endpoint.MetricReaderPublicMetrics;
 import org.springframework.boot.actuate.endpoint.MetricsEndpoint;
@@ -27,13 +29,12 @@ import 
org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
 import org.springframework.context.annotation.Bean;
 
-import com.codahale.metrics.MetricRegistry;
 
 @SpringBootApplication
 @EnableEurekaClient
 public class SampleRestApplication {
 @Bean
-public MetricRegistry metricRegistry(){
+public MetricRegistry metricRegistry() {
 return new MetricRegistry();
 }
 

http://git-wip-us.apache.org/repos/asf/cxf/blob/a8f1f095/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 0cbdc6e..b38ed90 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
@@ -22,12 +22,12 @@ import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
 
+//CHECKSTYLE:OFF
 @SpringBootApplication
 @EnableEurekaServer
-//CHECKSTYLE:OFF
 public class RegistryApplication {
-//CHECKSTYLE:ON
 public static void main(String[] args) {
 SpringApplication.run(RegistryApplication.class, args);
 }
 }
+//CHECKSTYLE:ON

http://git-wip-us.apache.org/repos/asf/cxf/blob/a8f1f095/distribution/src/main/release/samples/jaxws_spring_boot/src/main/java/sample/ws/SampleWsApplicationClient.java
--
diff --git 
a/distribution/src/main/release/samples/jaxws_spring_boot/src/main/java/sample/ws/SampleWsApplicationClient.java
 
b/distribution/src/main/release/samples/jaxws_spring_boot/src/main/java/sample/ws/SampleWsApplicationClient.java
index 76f4611..15ea971 100644
--- 
a/distribution/src/main/release/samples/jaxws_spring_boot/src/main/java/sample/ws/SampleWsApplicationClient.java
+++ 
b/distribution/src/main/release/samples/jaxws_spring_boot/

[1/4] cxf git commit: Fix checkstyle issues in samples

2016-11-23 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master d9e2a6e72 -> 8fc9d7829


Fix checkstyle issues in samples


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

Branch: refs/heads/master
Commit: 8fc9d782901adddf874fe7c2f9500836a0585707
Parents: 54b7117
Author: Daniel Kulp 
Authored: Wed Nov 23 09:39:03 2016 -0500
Committer: Daniel Kulp 
Committed: Wed Nov 23 09:51:40 2016 -0500

--
 .../main/java/demo/jaxrs/server/SparkUtils.java | 10 
 .../java/demo/jaxrs/server/simple/Server.java   |  4 ++--
 .../jaxrs/server/simple/StreamingService.java   | 24 ++--
 .../rs/service/SampleRestApplication.java   |  5 ++--
 .../registry/eureka/RegistryApplication.java|  4 ++--
 .../sample/ws/SampleWsApplicationClient.java|  4 +++-
 6 files changed, 27 insertions(+), 24 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/8fc9d782/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/SparkUtils.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/SparkUtils.java
 
b/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/SparkUtils.java
index ff29627..98894b4 100644
--- 
a/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/SparkUtils.java
+++ 
b/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/SparkUtils.java
@@ -47,14 +47,14 @@ public final class SparkUtils {
 public static JavaPairDStream createOutputDStream(
 JavaDStream receiverStream, boolean withId) {
 final JavaDStream words = 
-receiverStream.flatMap(x -> (withId ? splitInputStringWithId(x) : 
splitInputString(x)));
+receiverStream.flatMap(x -> withId ? splitInputStringWithId(x) : 
splitInputString(x));
 
 final JavaPairDStream pairs = words.mapToPair(s -> {
-return new Tuple2(s, 1);
-});
+return new Tuple2(s, 1);
+});
 return pairs.reduceByKey((i1, i2) -> {
-return i1 + i2;
-});
+return i1 + i2;
+});
 }
 public static Iterator splitInputString(String x) {
 List list = new LinkedList();

http://git-wip-us.apache.org/repos/asf/cxf/blob/8fc9d782/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/Server.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/Server.java
 
b/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/Server.java
index cbe4008..c1a49b2 100644
--- 
a/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/Server.java
+++ 
b/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/Server.java
@@ -29,8 +29,8 @@ public class Server {
 JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
 sf.setResourceClasses(StreamingService.class);
 
-String receiverType = args.length == 1 && 
args[0].equals("-receiverType=queue") ?
-"queue" : "string";
+String receiverType = args.length == 1 && 
args[0].equals("-receiverType=queue")
+? "queue" : "string";
 sf.setResourceProvider(StreamingService.class, 
 new SingletonResourceProvider(new StreamingService(receiverType)));
 sf.setAddress("http://localhost:9000/spark";);

http://git-wip-us.apache.org/repos/asf/cxf/blob/8fc9d782/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/StreamingService.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/StreamingService.java
 
b/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/StreamingService.java
index 93dbfb8..ee2eade 100644
--- 
a/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/StreamingService.java
+++ 
b/distribution/src/main/release/samples/jax_rs/spark/src/main/java/demo/jaxrs/server/simple/StreamingService.java
@@ -124,13 +124,13 @@ public class StreamingService {
 
 JavaDStream receiverStream = null;
 if ("queue".equals(receiverType)) {
-   Queue> rddQueue = new LinkedList<>();
-   for (i

cxf git commit: Fix checkstyle

2016-10-14 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 2fc4aea17 -> 6c5225f0b


Fix checkstyle


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

Branch: refs/heads/3.1.x-fixes
Commit: 6c5225f0b84517f869808e8f6a9665f3ebdfe0bc
Parents: 2fc4aea
Author: Daniel Kulp 
Authored: Fri Oct 14 13:10:08 2016 -0400
Committer: Daniel Kulp 
Committed: Fri Oct 14 13:10:08 2016 -0400

--
 .../src/main/java/registry/eureka/RegistryApplication.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/6c5225f0/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..e5fc30e 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,7 +24,9 @@ import 
org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
 
 @SpringBootApplication
 @EnableEurekaServer
-public class RegistryApplication {
+public static final class RegistryApplication {
+private RegistryApplication() {
+}
 
 public static void main(String[] args) {
 SpringApplication.run(RegistryApplication.class, args);



[31/42] cxf git commit: FIx checkstyle issues

2016-07-25 Thread reta
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-jaxrs-2.1
Commit: 955fd4b7fee79642934a828b7758ce14f783364a
Parents: c515130
Author: Daniel Kulp 
Authored: Mon Jul 25 16:22:51 2016 -0400
Committer: Daniel Kulp 
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/cl

[1/4] cxf git commit: FIx checkstyle issues

2016-07-25 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes d4aa22c8d -> 20a4f79a7


FIx checkstyle issues

# Conflicts:
#   
distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java


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

Branch: refs/heads/3.1.x-fixes
Commit: 97eb4f3e2db0678af3c2ae6cac999ce821574b10
Parents: d4aa22c
Author: Daniel Kulp 
Authored: Mon Jul 25 16:22:51 2016 -0400
Committer: Daniel Kulp 
Committed: Mon Jul 25 16:23:51 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/97eb4f3e/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/97eb4f3e/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 60ef15e..f622a43 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
@@ -60,4 +60,4 @@ public class SampleRestApplication {
 }
 
 
- }
+}

http://git-wip-us.apache.org/repos/asf/cxf/blob/97eb4f3e/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

cxf git commit: FIx checkstyle issues

2016-07-25 Thread dkulp
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 
Authored: Mon Jul 25 16:22:51 2016 -0400
Committer: Daniel Kulp 
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
--

cxf git commit: FIx checkstyle

2016-07-25 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 74f9284a5 -> 1e12811be


FIx checkstyle


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

Branch: refs/heads/3.0.x-fixes
Commit: 1e12811be326e2aedab734a7702c51b6f8898cf8
Parents: 74f9284
Author: Daniel Kulp 
Authored: Mon Jul 25 12:28:40 2016 -0400
Committer: Daniel Kulp 
Committed: Mon Jul 25 12:28:40 2016 -0400

--
 .../src/main/java/demo/jaxrs/swagger/server/Server.java| 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/1e12811b/distribution/src/main/release/samples/jax_rs/description_swagger2_spring/src/main/java/demo/jaxrs/swagger/server/Server.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/description_swagger2_spring/src/main/java/demo/jaxrs/swagger/server/Server.java
 
b/distribution/src/main/release/samples/jax_rs/description_swagger2_spring/src/main/java/demo/jaxrs/swagger/server/Server.java
index d03938f..40c18e2 100644
--- 
a/distribution/src/main/release/samples/jax_rs/description_swagger2_spring/src/main/java/demo/jaxrs/swagger/server/Server.java
+++ 
b/distribution/src/main/release/samples/jax_rs/description_swagger2_spring/src/main/java/demo/jaxrs/swagger/server/Server.java
@@ -22,8 +22,10 @@ package demo.jaxrs.swagger.server;
 import org.springframework.context.ApplicationContext;
 import org.springframework.context.support.ClassPathXmlApplicationContext;
 
-public class Server {
-
+public final class Server {
+private Server() {
+}
+
 
 public static void main(String args[]) throws Exception {
 ApplicationContext appctxt = 



cxf git commit: Fix checkstyle

2016-02-02 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 70e331116 -> 7700985d9


Fix checkstyle


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

Branch: refs/heads/3.0.x-fixes
Commit: 7700985d93db19b5824c9e3c05a1205d5a9b3c2e
Parents: 70e3311
Author: Daniel Kulp 
Authored: Tue Feb 2 15:07:42 2016 -0500
Committer: Daniel Kulp 
Committed: Tue Feb 2 15:07:42 2016 -0500

--
 .../cxf/ws/addressing/policy/AddressingAssertionBuilder.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/7700985d/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
--
diff --git 
a/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
 
b/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
index 318463d..f458dcc 100644
--- 
a/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
+++ 
b/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
@@ -84,7 +84,7 @@ public class AddressingAssertionBuilder implements 
AssertionBuilder {
   mp,
   policy);
 }
-}.build(elem, factory);
+} .build(elem, factory);
 if (!(nap instanceof PolicyContainingPrimitiveAssertion || nap 
instanceof PrimitiveAssertion)) {
 // this happens when neethi fails to recognize the specified 
addressing policy element
 LOG.warning("Unable to recognize the addressing policy");



cxf git commit: Fix checkstyle

2015-11-13 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 4744117f9 -> efac3c9e5


Fix checkstyle


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

Branch: refs/heads/3.1.x-fixes
Commit: efac3c9e56559370e2d8c8733f7886f83662b4e4
Parents: 4744117
Author: Daniel Kulp 
Authored: Fri Nov 13 12:20:34 2015 -0500
Committer: Daniel Kulp 
Committed: Fri Nov 13 12:21:07 2015 -0500

--
 .../atmosphere/DefaultProtocolInterceptor.java  | 93 +++-
 1 file changed, 52 insertions(+), 41 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/efac3c9e/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
--
diff --git 
a/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
 
b/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
index 54431ce..3dde4b5 100644
--- 
a/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
+++ 
b/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
@@ -298,49 +298,60 @@ public class DefaultProtocolInterceptor extends 
AtmosphereInterceptorAdapter {
 @Override
 public ServletOutputStream getOutputStream() throws IOException {
 if (sout == null) {
-sout = new ServletOutputStream() {
-CachedOutputStream out = new CachedOutputStream();
-OutputStream getOut() {
-if (out == null) {
-out = new CachedOutputStream();
-}
-return out;
-}
-void send(boolean complete) throws IOException {
-if (out == null) {
-return;
-}
-if (response.getStatus() >= 400) {
-int i = response.getStatus();
-response.setStatus(200);
-response.addIntHeader(WebSocketUtils.SC_KEY, i);
-}
-out.flush();
-out.lockOutputStream();
-out.writeCacheTo(delegate);
-delegate.flush();
-out.close();
-out = null;
-}
-public void write(int i) throws IOException {
-getOut().write(i);
-}
-public void close() throws IOException {
-send(true);
-delegate.close();
-}
-public void flush() throws IOException {
-send(false);
-}
-public void write(byte[] b, int off, int len) throws 
IOException {
-getOut().write(b, off, len);
-}
-public void write(byte[] b) throws IOException {
-getOut().write(b);
-}
-};
+sout = new BufferedServletOutputStream();
 }
 return sout;
 }
+
+private final class BufferedServletOutputStream extends 
ServletOutputStream {
+CachedOutputStream out = new CachedOutputStream();
+
+OutputStream getOut() {
+if (out == null) {
+out = new CachedOutputStream();
+}
+return out;
+}
+
+void send(boolean complete) throws IOException {
+if (out == null) {
+return;
+}
+if (response.getStatus() >= 400) {
+int i = response.getStatus();
+response.setStatus(200);
+response.addIntHeader(WebSocketUtils.SC_KEY, i);
+}
+out.flush();
+out.lockOutputStream();
+out.writeCacheTo(delegate);
+delegate.flush();
+out.close();
+out = null;
+}
+
+public void write(int i) throws IOException {
+getOut().write(i);
+}
+
+public void close() throws IOException {
+send(true);
+dele

cxf git commit: Fix checkstyle

2015-11-13 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master 92b8fbba1 -> 16feba3f0


Fix checkstyle


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

Branch: refs/heads/master
Commit: 16feba3f058d19458e4da4da0bf8dc65fe4bade0
Parents: 92b8fbb
Author: Daniel Kulp 
Authored: Fri Nov 13 12:20:34 2015 -0500
Committer: Daniel Kulp 
Committed: Fri Nov 13 12:20:50 2015 -0500

--
 .../atmosphere/DefaultProtocolInterceptor.java  | 93 +++-
 1 file changed, 52 insertions(+), 41 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/16feba3f/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
--
diff --git 
a/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
 
b/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
index 54431ce..3dde4b5 100644
--- 
a/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
+++ 
b/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
@@ -298,49 +298,60 @@ public class DefaultProtocolInterceptor extends 
AtmosphereInterceptorAdapter {
 @Override
 public ServletOutputStream getOutputStream() throws IOException {
 if (sout == null) {
-sout = new ServletOutputStream() {
-CachedOutputStream out = new CachedOutputStream();
-OutputStream getOut() {
-if (out == null) {
-out = new CachedOutputStream();
-}
-return out;
-}
-void send(boolean complete) throws IOException {
-if (out == null) {
-return;
-}
-if (response.getStatus() >= 400) {
-int i = response.getStatus();
-response.setStatus(200);
-response.addIntHeader(WebSocketUtils.SC_KEY, i);
-}
-out.flush();
-out.lockOutputStream();
-out.writeCacheTo(delegate);
-delegate.flush();
-out.close();
-out = null;
-}
-public void write(int i) throws IOException {
-getOut().write(i);
-}
-public void close() throws IOException {
-send(true);
-delegate.close();
-}
-public void flush() throws IOException {
-send(false);
-}
-public void write(byte[] b, int off, int len) throws 
IOException {
-getOut().write(b, off, len);
-}
-public void write(byte[] b) throws IOException {
-getOut().write(b);
-}
-};
+sout = new BufferedServletOutputStream();
 }
 return sout;
 }
+
+private final class BufferedServletOutputStream extends 
ServletOutputStream {
+CachedOutputStream out = new CachedOutputStream();
+
+OutputStream getOut() {
+if (out == null) {
+out = new CachedOutputStream();
+}
+return out;
+}
+
+void send(boolean complete) throws IOException {
+if (out == null) {
+return;
+}
+if (response.getStatus() >= 400) {
+int i = response.getStatus();
+response.setStatus(200);
+response.addIntHeader(WebSocketUtils.SC_KEY, i);
+}
+out.flush();
+out.lockOutputStream();
+out.writeCacheTo(delegate);
+delegate.flush();
+out.close();
+out = null;
+}
+
+public void write(int i) throws IOException {
+getOut().write(i);
+}
+
+public void close() throws IOException {
+send(true);
+delegate.close

cxf git commit: Fix checkstyle errors

2015-10-30 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 2fb9ad601 -> 8e85b48f7


Fix checkstyle errors


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

Branch: refs/heads/3.0.x-fixes
Commit: 8e85b48f78501a579de159ccea44dc7caadd7691
Parents: 2fb9ad6
Author: Daniel Kulp 
Authored: Fri Oct 30 14:23:13 2015 -0400
Committer: Daniel Kulp 
Committed: Fri Oct 30 14:23:13 2015 -0400

--
 .../src/main/java/demo/jaxrs/swagger/server/Sample.java | 1 -
 .../src/main/java/demo/jaxrs/swagger/server/Sample.java | 1 -
 .../src/main/java/demo/jaxrs/swagger/server/Sample.java | 1 -
 .../src/main/java/demo/jaxrs/swagger/server/Sample.java | 1 -
 4 files changed, 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/8e85b48f/distribution/src/main/release/samples/jax_rs/description_swagger/src/main/java/demo/jaxrs/swagger/server/Sample.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/description_swagger/src/main/java/demo/jaxrs/swagger/server/Sample.java
 
b/distribution/src/main/release/samples/jax_rs/description_swagger/src/main/java/demo/jaxrs/swagger/server/Sample.java
index 7b83508..557cb1d 100644
--- 
a/distribution/src/main/release/samples/jax_rs/description_swagger/src/main/java/demo/jaxrs/swagger/server/Sample.java
+++ 
b/distribution/src/main/release/samples/jax_rs/description_swagger/src/main/java/demo/jaxrs/swagger/server/Sample.java
@@ -19,7 +19,6 @@
 
 package demo.jaxrs.swagger.server;
 
-import java.util.Arrays;
 import java.util.Collections;
 import java.util.Map;
 import java.util.TreeMap;

http://git-wip-us.apache.org/repos/asf/cxf/blob/8e85b48f/distribution/src/main/release/samples/jax_rs/description_swagger2/src/main/java/demo/jaxrs/swagger/server/Sample.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/description_swagger2/src/main/java/demo/jaxrs/swagger/server/Sample.java
 
b/distribution/src/main/release/samples/jax_rs/description_swagger2/src/main/java/demo/jaxrs/swagger/server/Sample.java
index 4080348..f3c1765 100644
--- 
a/distribution/src/main/release/samples/jax_rs/description_swagger2/src/main/java/demo/jaxrs/swagger/server/Sample.java
+++ 
b/distribution/src/main/release/samples/jax_rs/description_swagger2/src/main/java/demo/jaxrs/swagger/server/Sample.java
@@ -19,7 +19,6 @@
 
 package demo.jaxrs.swagger.server;
 
-import java.util.Arrays;
 import java.util.Collections;
 import java.util.Map;
 import java.util.TreeMap;

http://git-wip-us.apache.org/repos/asf/cxf/blob/8e85b48f/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/main/java/demo/jaxrs/swagger/server/Sample.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/main/java/demo/jaxrs/swagger/server/Sample.java
 
b/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/main/java/demo/jaxrs/swagger/server/Sample.java
index 4080348..f3c1765 100644
--- 
a/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/main/java/demo/jaxrs/swagger/server/Sample.java
+++ 
b/distribution/src/main/release/samples/jax_rs/description_swagger2_osgi/src/main/java/demo/jaxrs/swagger/server/Sample.java
@@ -19,7 +19,6 @@
 
 package demo.jaxrs.swagger.server;
 
-import java.util.Arrays;
 import java.util.Collections;
 import java.util.Map;
 import java.util.TreeMap;

http://git-wip-us.apache.org/repos/asf/cxf/blob/8e85b48f/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/java/demo/jaxrs/swagger/server/Sample.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/java/demo/jaxrs/swagger/server/Sample.java
 
b/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/java/demo/jaxrs/swagger/server/Sample.java
index 4080348..f3c1765 100644
--- 
a/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/java/demo/jaxrs/swagger/server/Sample.java
+++ 
b/distribution/src/main/release/samples/jax_rs/description_swagger2_web/src/main/java/demo/jaxrs/swagger/server/Sample.java
@@ -19,7 +19,6 @@
 
 package demo.jaxrs.swagger.server;
 
-import java.util.Arrays;
 import java.util.Collections;
 import java.util.Map;
 import java.util.TreeMap;



cxf git commit: fix checkstyle errors

2015-10-23 Thread ay
Repository: cxf
Updated Branches:
  refs/heads/master 1616f1910 -> 42e6fde99


fix checkstyle errors


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

Branch: refs/heads/master
Commit: 42e6fde997a3b7e7408414e79e2003ec067910f3
Parents: 1616f19
Author: Akitoshi Yoshida 
Authored: Fri Oct 23 11:15:07 2015 +0200
Committer: Akitoshi Yoshida 
Committed: Fri Oct 23 11:15:07 2015 +0200

--
 .../cxf/transport/http_jetty/JettyHTTPServerEngine.java   | 7 ++-
 1 file changed, 2 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/42e6fde9/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
--
diff --git 
a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
 
b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
index e4da5f4..0b864f5 100644
--- 
a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
+++ 
b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
@@ -594,14 +594,11 @@ public class JettyHTTPServerEngine implements 
ServerEngine {
 
 int major = 8;
 int minor = 0;
-try
-{
+try {
 String[] version = Server.getVersion().split("\\.");
 major = Integer.parseInt(version[0]);
 minor = Integer.parseInt(version[1]);
-}
-catch (Exception e)
-{
+} catch (Exception e) {
 // unparsable version
 }
 



cxf git commit: Fix checkstyle issues in samples

2015-07-28 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master 52c003020 -> 2a2ed6757


Fix checkstyle issues in samples


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

Branch: refs/heads/master
Commit: 2a2ed67576b525f9708fcb8bd9e8387a277a1f4f
Parents: 52c0030
Author: Daniel Kulp 
Authored: Tue Jul 28 11:34:39 2015 -0400
Committer: Daniel Kulp 
Committed: Tue Jul 28 11:34:39 2015 -0400

--
 .../java/demo/jaxrs/server/BigQueryServer.java|  8 ++--
 .../java/demo/jaxrs/server/BigQueryService.java   |  4 ++--
 .../java/demo/jaxrs/server/ShakespeareText.java   | 18 ++
 .../rs/service/SampleRestWSApplication.java   |  1 -
 4 files changed, 26 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/2a2ed675/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java
 
b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java
index bfc8ee8..f82fa7a 100644
--- 
a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java
+++ 
b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java
@@ -43,7 +43,10 @@ import 
org.apache.cxf.rs.security.oauth2.provider.OAuthJSONProvider;
 import org.apache.cxf.rs.security.oauth2.utils.OAuthUtils;
 
 
-public class BigQueryServer {
+public final class BigQueryServer {
+private BigQueryServer() {
+}
+
 public static void main(String[] args) throws Exception {
 final String pc12File = args[0];
 final String keySecret = args[1];
@@ -86,7 +89,8 @@ public class BigQueryServer {
 JwtBearerGrant grant = new JwtBearerGrant(base64UrlAssertion);
 
 WebClient accessTokenService = 
WebClient.create("https://www.googleapis.com/oauth2/v3/token";,
-Arrays.asList(new 
OAuthJSONProvider(), new AccessTokenGrantWriter()));
+Arrays.asList(new 
OAuthJSONProvider(),
+  new 
AccessTokenGrantWriter()));
 
accessTokenService.type(MediaType.APPLICATION_FORM_URLENCODED).accept(MediaType.APPLICATION_JSON);
 
 return accessTokenService.post(grant, ClientAccessToken.class);

http://git-wip-us.apache.org/repos/asf/cxf/blob/2a2ed675/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
 
b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
index 99441ba..3eac41f 100644
--- 
a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
+++ 
b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
@@ -40,8 +40,8 @@ public class BigQueryService {
 
 private static final String BQ_SELECT = 
 "SELECT corpus,corpus_date FROM publicdata:samples.shakespeare WHERE 
word=\\\"%s\\\"";
-private static final String BQ_REQUEST = "{" +
-"\"kind\": \"bigquery#queryRequest\"," 
+private static final String BQ_REQUEST = "{"
++ "\"kind\": \"bigquery#queryRequest\"," 
 + "\"query\": \"%s\","
 + "\"maxResults\": %d" 
 + "}";

http://git-wip-us.apache.org/repos/asf/cxf/blob/2a2ed675/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/ShakespeareText.java
--
diff --git 
a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/ShakespeareText.java
 
b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/ShakespeareText.java
index a3ef3de..95baa17 100644
--- 
a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/ShakespeareText.java
+++ 
b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/ShakespeareText.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreeme

[2/9] cxf git commit: Fix checkstyle

2015-07-09 Thread dkulp
Fix checkstyle


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

Branch: refs/heads/3.0.x-fixes
Commit: 19e3be79a2c508666985014dcecb8dfa64c10e9b
Parents: 34359c9
Author: Daniel Kulp 
Authored: Wed Jul 1 10:08:57 2015 -0400
Committer: Daniel Kulp 
Committed: Thu Jul 9 12:20:26 2015 -0400

--
 .../src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java  | 2 --
 1 file changed, 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/19e3be79/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java
--
diff --git 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java
index f1816d6..b5bf725 100644
--- 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java
+++ 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java
@@ -47,8 +47,6 @@ import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
-import org.xml.sax.InputSource;
-
 import org.apache.cxf.common.jaxb.JAXBUtils;
 import org.apache.cxf.helpers.CastUtils;
 import org.apache.cxf.jaxrs.provider.JAXBElementProvider;



cxf git commit: Fix checkstyle

2015-07-08 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master 58d5200bd -> 5a1dd7723


Fix checkstyle


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

Branch: refs/heads/master
Commit: 5a1dd7723e3c21267e12d1562f4a2425049bc7ad
Parents: 58d5200
Author: Daniel Kulp 
Authored: Wed Jul 8 17:52:34 2015 -0400
Committer: Daniel Kulp 
Committed: Wed Jul 8 17:52:34 2015 -0400

--
 .../java/org/apache/cxf/sts/token/validator/X509TokenValidator.java | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/5a1dd772/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/validator/X509TokenValidator.java
--
diff --git 
a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/validator/X509TokenValidator.java
 
b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/validator/X509TokenValidator.java
index 6be11e8..c8049c9 100644
--- 
a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/validator/X509TokenValidator.java
+++ 
b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/token/validator/X509TokenValidator.java
@@ -29,7 +29,6 @@ import javax.security.auth.callback.CallbackHandler;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
-import org.w3c.dom.Text;
 
 import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.helpers.DOMUtils;



cxf git commit: Fix checkstyle

2015-07-01 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master 6afd8f9e2 -> 1623553cf


Fix checkstyle


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

Branch: refs/heads/master
Commit: 1623553cfefce2108c53e3763a4bb68b24100e8c
Parents: 6afd8f9
Author: Daniel Kulp 
Authored: Wed Jul 1 10:08:57 2015 -0400
Committer: Daniel Kulp 
Committed: Wed Jul 1 10:08:57 2015 -0400

--
 .../src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java  | 2 --
 1 file changed, 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/1623553c/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java
--
diff --git 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java
index f1816d6..b5bf725 100644
--- 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java
+++ 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/xml/XMLSource.java
@@ -47,8 +47,6 @@ import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
-import org.xml.sax.InputSource;
-
 import org.apache.cxf.common.jaxb.JAXBUtils;
 import org.apache.cxf.helpers.CastUtils;
 import org.apache.cxf.jaxrs.provider.JAXBElementProvider;



[3/5] cxf git commit: Fix checkstyle This closes #37

2014-12-12 Thread dkulp
Fix checkstyle
This closes #37


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

Branch: refs/heads/3.0.x-fixes
Commit: 6463da84d21e77d4fb0f7814902c1f70ea1c2940
Parents: 5122b2d
Author: Daniel Kulp 
Authored: Fri Dec 12 14:04:38 2014 -0500
Committer: Daniel Kulp 
Committed: Fri Dec 12 14:37:04 2014 -0500

--
 .../src/main/java/org/apache/cxf/javascript/ParticleInfo.java| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/6463da84/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
--
diff --git 
a/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
 
b/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
index 445cf96..6fee422 100644
--- 
a/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
+++ 
b/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
@@ -19,8 +19,8 @@
 
 package org.apache.cxf.javascript;
 
-import java.util.List;
 import java.util.LinkedList;
+import java.util.List;
 import java.util.logging.Logger;
 
 import javax.xml.namespace.QName;
@@ -30,9 +30,9 @@ import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.common.xmlschema.SchemaCollection;
 import org.apache.cxf.common.xmlschema.XmlSchemaUtils;
 import org.apache.ws.commons.schema.XmlSchema;
-import org.apache.ws.commons.schema.XmlSchemaElement;
 import org.apache.ws.commons.schema.XmlSchemaChoice;
 import org.apache.ws.commons.schema.XmlSchemaChoiceMember;
+import org.apache.ws.commons.schema.XmlSchemaElement;
 import org.apache.ws.commons.schema.XmlSchemaObject;
 import org.apache.ws.commons.schema.XmlSchemaParticle;
 import org.apache.ws.commons.schema.XmlSchemaType;



[2/2] cxf git commit: Fix checkstyle This closes #37

2014-12-12 Thread dkulp
Fix checkstyle
This closes #37


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

Branch: refs/heads/master
Commit: d5f0ace3556d376ada193fca312e315d3bd523a2
Parents: 8616ea9
Author: Daniel Kulp 
Authored: Fri Dec 12 14:04:38 2014 -0500
Committer: Daniel Kulp 
Committed: Fri Dec 12 14:04:38 2014 -0500

--
 .../src/main/java/org/apache/cxf/javascript/ParticleInfo.java| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/d5f0ace3/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
--
diff --git 
a/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
 
b/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
index 445cf96..6fee422 100644
--- 
a/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
+++ 
b/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/ParticleInfo.java
@@ -19,8 +19,8 @@
 
 package org.apache.cxf.javascript;
 
-import java.util.List;
 import java.util.LinkedList;
+import java.util.List;
 import java.util.logging.Logger;
 
 import javax.xml.namespace.QName;
@@ -30,9 +30,9 @@ import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.common.xmlschema.SchemaCollection;
 import org.apache.cxf.common.xmlschema.XmlSchemaUtils;
 import org.apache.ws.commons.schema.XmlSchema;
-import org.apache.ws.commons.schema.XmlSchemaElement;
 import org.apache.ws.commons.schema.XmlSchemaChoice;
 import org.apache.ws.commons.schema.XmlSchemaChoiceMember;
+import org.apache.ws.commons.schema.XmlSchemaElement;
 import org.apache.ws.commons.schema.XmlSchemaObject;
 import org.apache.ws.commons.schema.XmlSchemaParticle;
 import org.apache.ws.commons.schema.XmlSchemaType;