You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2015/10/12 18:56:58 UTC
[2/4] cxf git commit: Start working on fixing the 400+ errors the
latest eclipse upgrades flags
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/stsclient/STSClientTest.java
----------------------------------------------------------------------
diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/stsclient/STSClientTest.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/stsclient/STSClientTest.java
index 62bbc8e..37757c3 100644
--- a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/stsclient/STSClientTest.java
+++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/stsclient/STSClientTest.java
@@ -114,6 +114,6 @@ public class STSClientTest extends AbstractBusClientServerTestBase {
private static void doubleIt(DoubleItPortType port, int numToDouble) {
int resp = port.doubleIt(numToDouble);
- assertEquals(numToDouble * 2 , resp);
+ assertEquals(numToDouble * 2, resp);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/SymmetricBindingTest.java
----------------------------------------------------------------------
diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/SymmetricBindingTest.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/SymmetricBindingTest.java
index a3fc528..f761de4 100644
--- a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/SymmetricBindingTest.java
+++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/symmetric/SymmetricBindingTest.java
@@ -363,6 +363,6 @@ public class SymmetricBindingTest extends AbstractBusClientServerTestBase {
private static void doubleIt(DoubleItPortType port, int numToDouble) {
int resp = port.doubleIt(numToDouble);
- assertEquals(numToDouble * 2 , resp);
+ assertEquals(numToDouble * 2, resp);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/TemplateTest.java
----------------------------------------------------------------------
diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/TemplateTest.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/TemplateTest.java
index a9105de..bc84260 100644
--- a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/TemplateTest.java
+++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/TemplateTest.java
@@ -366,6 +366,6 @@ public class TemplateTest extends AbstractBusClientServerTestBase {
private static void doubleIt(DoubleItPortType port, int numToDouble) {
int resp = port.doubleIt(numToDouble);
- assertEquals(numToDouble * 2 , resp);
+ assertEquals(numToDouble * 2, resp);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/transport/TransportBindingTest.java
----------------------------------------------------------------------
diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/transport/TransportBindingTest.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/transport/TransportBindingTest.java
index ea4ace1..735827a 100644
--- a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/transport/TransportBindingTest.java
+++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/transport/TransportBindingTest.java
@@ -456,6 +456,6 @@ public class TransportBindingTest extends AbstractBusClientServerTestBase {
private static void doubleIt(DoubleItPortType port, int numToDouble) {
int resp = port.doubleIt(numToDouble);
- assertEquals(numToDouble * 2 , resp);
+ assertEquals(numToDouble * 2, resp);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/x509_symmetric/X509SymmetricBindingTest.java
----------------------------------------------------------------------
diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/x509_symmetric/X509SymmetricBindingTest.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/x509_symmetric/X509SymmetricBindingTest.java
index 1132d52..e6089ec 100644
--- a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/x509_symmetric/X509SymmetricBindingTest.java
+++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/x509_symmetric/X509SymmetricBindingTest.java
@@ -206,6 +206,6 @@ public class X509SymmetricBindingTest extends AbstractBusClientServerTestBase {
private static void doubleIt(DoubleItPortType port, int numToDouble) {
int resp = port.doubleIt(numToDouble);
- assertEquals(numToDouble * 2 , resp);
+ assertEquals(numToDouble * 2, resp);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
----------------------------------------------------------------------
diff --git a/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java b/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
index 9b9d0e8..1b70a39 100644
--- a/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
+++ b/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
@@ -447,7 +447,7 @@ public class WSDiscoveryServiceImpl implements WSDiscoveryService {
inMap.put("{" + WSDVersion.INSTANCE_1_1.getAddressingNamespace() + "}*",
"{" + WSDVersion.INSTANCE_1_0.getAddressingNamespace() + "}*");
- InTransformReader reader = new InTransformReader(domReader, inMap , null, false);
+ InTransformReader reader = new InTransformReader(domReader, inMap, null, false);
doc = StaxUtils.read(reader);
return new DOMSource(doc);
}
@@ -470,7 +470,7 @@ public class WSDiscoveryServiceImpl implements WSDiscoveryService {
"{" + WSDVersion.INSTANCE_1_1.getNamespace() + "}*");
inMap.put("{" + WSDVersion.INSTANCE_1_0.getAddressingNamespace() + "}*",
"{" + WSDVersion.INSTANCE_1_1.getAddressingNamespace() + "}*");
- InTransformReader reader = new InTransformReader(domReader, inMap , null, false);
+ InTransformReader reader = new InTransformReader(domReader, inMap, null, false);
doc = StaxUtils.read(reader);
//System.out.println(StaxUtils.toString(doc));
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/services/xkms/xkms-common/src/main/java/org/apache/cxf/xkms/handlers/Applications.java
----------------------------------------------------------------------
diff --git a/services/xkms/xkms-common/src/main/java/org/apache/cxf/xkms/handlers/Applications.java b/services/xkms/xkms-common/src/main/java/org/apache/cxf/xkms/handlers/Applications.java
index 84e1a25..a2775e8 100644
--- a/services/xkms/xkms-common/src/main/java/org/apache/cxf/xkms/handlers/Applications.java
+++ b/services/xkms/xkms-common/src/main/java/org/apache/cxf/xkms/handlers/Applications.java
@@ -50,7 +50,7 @@ public enum Applications {
private String uri;
- private Applications(String uri) {
+ Applications(String uri) {
this.uri = uri;
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/services/xkms/xkms-service/src/main/java/org/apache/cxf/xkms/service/CertificateRepoProxyFactory.java
----------------------------------------------------------------------
diff --git a/services/xkms/xkms-service/src/main/java/org/apache/cxf/xkms/service/CertificateRepoProxyFactory.java b/services/xkms/xkms-service/src/main/java/org/apache/cxf/xkms/service/CertificateRepoProxyFactory.java
index fc65f9e..196724d 100644
--- a/services/xkms/xkms-service/src/main/java/org/apache/cxf/xkms/service/CertificateRepoProxyFactory.java
+++ b/services/xkms/xkms-service/src/main/java/org/apache/cxf/xkms/service/CertificateRepoProxyFactory.java
@@ -33,11 +33,11 @@ public class CertificateRepoProxyFactory {
public CertificateRepoProxyFactory(Class<?> serviceInterface, String filterSt, BundleContext context) {
Filter filter = createFilter(filterSt, context);
- this.tracker = new ServiceTracker(context, filter , null);
+ this.tracker = new ServiceTracker(context, filter, null);
this.tracker.open();
Class<?>[] interfaces = new Class<?>[]{serviceInterface};
InvocationHandler handler = new NamedServiceProxy(tracker, filterSt);
- proxy = (CertificateRepo)Proxy.newProxyInstance(serviceInterface.getClassLoader(), interfaces , handler);
+ proxy = (CertificateRepo)Proxy.newProxyInstance(serviceInterface.getClassLoader(), interfaces, handler);
}
private Filter createFilter(String filterSt, BundleContext context) {
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/databinding/src/test/java/org/apache/cxf/systest/aegis/SportsService.java
----------------------------------------------------------------------
diff --git a/systests/databinding/src/test/java/org/apache/cxf/systest/aegis/SportsService.java b/systests/databinding/src/test/java/org/apache/cxf/systest/aegis/SportsService.java
index 9a3567d..34d52b5 100644
--- a/systests/databinding/src/test/java/org/apache/cxf/systest/aegis/SportsService.java
+++ b/systests/databinding/src/test/java/org/apache/cxf/systest/aegis/SportsService.java
@@ -35,11 +35,11 @@ public interface SportsService {
BeanWithCharacter getCharBean();
- public class CustomerMap extends HashMap<String, Map<Integer, Integer>> {
+ class CustomerMap extends HashMap<String, Map<Integer, Integer>> {
private static final long serialVersionUID = 6235169270166551322L;
}
- public static class Pair<T1, T2> {
+ class Pair<T1, T2> {
private T1 first;
private T2 second;
@@ -74,7 +74,7 @@ public interface SportsService {
}
- public class SimpleMapResult extends HashMap<String, Integer> {
+ class SimpleMapResult extends HashMap<String, Integer> {
private static final long serialVersionUID = -5599483363035948690L;
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/databinding/src/test/java/org/apache/cxf/systest/source/ClientServerSourceTest.java
----------------------------------------------------------------------
diff --git a/systests/databinding/src/test/java/org/apache/cxf/systest/source/ClientServerSourceTest.java b/systests/databinding/src/test/java/org/apache/cxf/systest/source/ClientServerSourceTest.java
index 2ee7f55..a07c4bf 100644
--- a/systests/databinding/src/test/java/org/apache/cxf/systest/source/ClientServerSourceTest.java
+++ b/systests/databinding/src/test/java/org/apache/cxf/systest/source/ClientServerSourceTest.java
@@ -72,7 +72,7 @@ public class ClientServerSourceTest extends AbstractBusClientServerTestBase {
Bus bus = factory.createBus("org/apache/cxf/systest/source/cxf.xml");
BusFactory.setDefaultBus(bus);
URL wsdl = this.getClass().getResource("/wsdl_systest_databinding/source/hello_world.wsdl");
- assertNotNull("We should have found the WSDL here. " , wsdl);
+ assertNotNull("We should have found the WSDL here. ", wsdl);
SOAPService ss = new SOAPService(wsdl, SERVICE_NAME);
Greeter port = ss.getSoapPort();
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/databinding/src/test/java/org/apache/cxf/systest/xmlbeans/ClientServerXmlBeansTest.java
----------------------------------------------------------------------
diff --git a/systests/databinding/src/test/java/org/apache/cxf/systest/xmlbeans/ClientServerXmlBeansTest.java b/systests/databinding/src/test/java/org/apache/cxf/systest/xmlbeans/ClientServerXmlBeansTest.java
index 4cb378c..358ecbb 100644
--- a/systests/databinding/src/test/java/org/apache/cxf/systest/xmlbeans/ClientServerXmlBeansTest.java
+++ b/systests/databinding/src/test/java/org/apache/cxf/systest/xmlbeans/ClientServerXmlBeansTest.java
@@ -85,7 +85,7 @@ public class ClientServerXmlBeansTest extends AbstractBusClientServerTestBase {
Bus bus = factory.createBus("org/apache/cxf/systest/xmlbeans/cxf.xml");
BusFactory.setDefaultBus(bus);
URL wsdl = this.getClass().getResource("/wsdl_systest_databinding/xmlbeans/doc_lit_bare.wsdl");
- assertNotNull("We should have found the WSDL here. " , wsdl);
+ assertNotNull("We should have found the WSDL here. ", wsdl);
org.apache.cxf.xmlbeans.doc_lit_bare.SOAPService ss =
new org.apache.cxf.xmlbeans.doc_lit_bare.SOAPService(wsdl, DOC_LIT_BARE_SERVICE);
@@ -124,7 +124,7 @@ public class ClientServerXmlBeansTest extends AbstractBusClientServerTestBase {
Bus bus = factory.createBus("org/apache/cxf/systest/xmlbeans/cxf.xml");
BusFactory.setDefaultBus(bus);
URL wsdl = this.getClass().getResource("/wsdl_systest_databinding/xmlbeans/hello_world.wsdl");
- assertNotNull("We should have found the WSDL here. " , wsdl);
+ assertNotNull("We should have found the WSDL here. ", wsdl);
SOAPService ss = new SOAPService(wsdl, SERVICE_NAME);
Greeter port = ss.getSoapPort();
@@ -181,7 +181,7 @@ public class ClientServerXmlBeansTest extends AbstractBusClientServerTestBase {
Bus bus = factory.createBus("org/apache/cxf/systest/xmlbeans/cxf_no_wsdl.xml");
BusFactory.setDefaultBus(bus);
URL wsdl = this.getClass().getResource("/wsdl_systest_databinding/xmlbeans/hello_world.wsdl");
- assertNotNull("We should have found the WSDL here. " , wsdl);
+ assertNotNull("We should have found the WSDL here. ", wsdl);
SOAPService ss = new SOAPService(wsdl, SERVICE_NAME);
QName soapPort = new QName("http://apache.org/hello_world_soap_http_xmlbeans/xmlbeans", "SoapPort");
@@ -230,7 +230,7 @@ public class ClientServerXmlBeansTest extends AbstractBusClientServerTestBase {
Bus bus = factory.createBus("org/apache/cxf/systest/xmlbeans/cxf_no_wsdl.xml");
BusFactory.setDefaultBus(bus);
URL wsdl = this.getClass().getResource("/wsdl_systest_databinding/xmlbeans/hello_world.wsdl");
- assertNotNull("We should have found the WSDL here. " , wsdl);
+ assertNotNull("We should have found the WSDL here. ", wsdl);
SOAPService ss = new SOAPService(wsdl, SERVICE_NAME);
QName soapPort = new QName("http://apache.org/hello_world_soap_http_xmlbeans/xmlbeans", "SoapPort");
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
index dd6b4fe..26e277f 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
@@ -2431,8 +2431,8 @@ public class JAXRSClientServerBookTest extends AbstractBusClientServerTestBase {
"http://localhost:" + PORT + "/bookstore/booksplain";
PostMethod post = new PostMethod(endpointAddress);
- post.addRequestHeader("Content-Type" , "text/plain");
- post.addRequestHeader("Accept" , "text/plain");
+ post.addRequestHeader("Content-Type", "text/plain");
+ post.addRequestHeader("Accept", "text/plain");
post.setRequestBody("12345");
HttpClient httpclient = new HttpClient();
@@ -2487,7 +2487,7 @@ public class JAXRSClientServerBookTest extends AbstractBusClientServerTestBase {
"http://localhost:" + PORT + "/bookstore/cds";
GetMethod get = new GetMethod(endpointAddress);
- get.addRequestHeader("Accept" , "application/json");
+ get.addRequestHeader("Accept", "application/json");
HttpClient httpclient = new HttpClient();
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/OrderBean.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/OrderBean.java b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/OrderBean.java
index 00b70a5..7572343 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/OrderBean.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/OrderBean.java
@@ -47,7 +47,7 @@ public class OrderBean {
this.customerTitle = customerTitle;
}
- public static enum Title {
+ enum Title {
MR,
MS;
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/FailoverTest.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/FailoverTest.java b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/FailoverTest.java
index beedff9..4e94c2c 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/FailoverTest.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/FailoverTest.java
@@ -294,7 +294,7 @@ public class FailoverTest extends AbstractBusClientServerTestBase {
if (expectRandom) {
assertTrue(currEndpoint.equals(activeReplica1) || currEndpoint.equals(activeReplica2));
} else {
- assertEquals(activeReplica1 , currEndpoint);
+ assertEquals(activeReplica1, currEndpoint);
}
if (expectServerException) {
assertNotNull(ex);
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/ClientServerMiscTest.java
----------------------------------------------------------------------
diff --git a/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/ClientServerMiscTest.java b/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/ClientServerMiscTest.java
index 165f81c..ead7c4f 100644
--- a/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/ClientServerMiscTest.java
+++ b/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/ClientServerMiscTest.java
@@ -570,7 +570,7 @@ public class ClientServerMiscTest extends AbstractBusClientServerTestBase {
assertEquals(2, foos2.get(0).length);
assertEquals(2, foos2.get(1).length);
- int ints[] = port.echoIntArray(new int[] {1, 2 , 3}, null);
+ int ints[] = port.echoIntArray(new int[] {1, 2, 3}, null);
assertEquals(3, ints.length);
assertEquals(1, ints[0]);
@@ -673,7 +673,7 @@ public class ClientServerMiscTest extends AbstractBusClientServerTestBase {
private void runRpcLitTest(RpcLitCodeFirstService port) throws Exception {
- String ret[] = port.convertToString(new int[] {1, 2 , 3});
+ String ret[] = port.convertToString(new int[] {1, 2, 3});
assertEquals(3, ret.length);
List<String> rev = new ArrayList<String>(Arrays.asList(RpcLitCodeFirstServiceImpl.DATA));
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/DocLitBareCodeFirstService.java
----------------------------------------------------------------------
diff --git a/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/DocLitBareCodeFirstService.java b/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/DocLitBareCodeFirstService.java
index 6cd094b..a835cab 100644
--- a/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/DocLitBareCodeFirstService.java
+++ b/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/DocLitBareCodeFirstService.java
@@ -63,7 +63,7 @@ public interface DocLitBareCodeFirstService {
propOrder = { "name" })
@XmlRootElement(namespace = "http://cxf.apache.org/test/request/bare",
name = "SayTestObject")
- static class SayTestRequest {
+ class SayTestRequest {
String name;
public SayTestRequest() {
@@ -85,7 +85,7 @@ public interface DocLitBareCodeFirstService {
propOrder = { "name" })
@XmlRootElement(namespace = "http://cxf.apache.org/test/request/bare",
name = "GreetMeObject")
- static class GreetMeRequest {
+ class GreetMeRequest {
String name;
public GreetMeRequest() {
@@ -105,7 +105,7 @@ public interface DocLitBareCodeFirstService {
propOrder = { "name" })
@XmlRootElement(namespace = "http://cxf.apache.org/test/request/bare",
name = "GreetMeResponseObject")
- static class GreetMeResponse {
+ class GreetMeResponse {
String name;
public GreetMeResponse() {
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/DocLitWrappedCodeFirstService.java
----------------------------------------------------------------------
diff --git a/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/DocLitWrappedCodeFirstService.java b/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/DocLitWrappedCodeFirstService.java
index f412150..6596119 100644
--- a/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/DocLitWrappedCodeFirstService.java
+++ b/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/DocLitWrappedCodeFirstService.java
@@ -179,7 +179,7 @@ public interface DocLitWrappedCodeFirstService {
Bar createBar(String val);
- static class Foo {
+ class Foo {
String name;
public Foo() {
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/RpcLitCodeFirstService.java
----------------------------------------------------------------------
diff --git a/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/RpcLitCodeFirstService.java b/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/RpcLitCodeFirstService.java
index 7c6aeaf..abc2fd3 100644
--- a/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/RpcLitCodeFirstService.java
+++ b/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/RpcLitCodeFirstService.java
@@ -95,7 +95,7 @@ public interface RpcLitCodeFirstService {
@WebMethod
List<Foo[]> listObjectArrayOutput();
- static class Foo {
+ class Foo {
String name;
public Foo() {
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java
----------------------------------------------------------------------
diff --git a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java b/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java
index a7d16b3..cb301b1 100644
--- a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java
+++ b/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java
@@ -71,7 +71,7 @@ public class ClientServerJibxTest extends AbstractBusClientServerTestBase {
Bus bus = factory.createBus("org/apache/cxf/systest/jibx/cxf.xml");
BusFactory.setDefaultBus(bus);
URL wsdl = this.getClass().getResource("/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl");
- assertNotNull("We should have found the WSDL here. " , wsdl);
+ assertNotNull("We should have found the WSDL here. ", wsdl);
org.apache.cxf.jibx.doc_lit_bare.SOAPService ss =
new org.apache.cxf.jibx.doc_lit_bare.SOAPService(wsdl, DOC_LIT_BARE_SERVICE);
@@ -108,7 +108,7 @@ public class ClientServerJibxTest extends AbstractBusClientServerTestBase {
Bus bus = factory.createBus("org/apache/cxf/systest/jibx/cxf.xml");
BusFactory.setDefaultBus(bus);
URL wsdl = this.getClass().getResource("/wsdl_systest_databinding/jibx/hello_world.wsdl");
- assertNotNull("We should have found the WSDL here. " , wsdl);
+ assertNotNull("We should have found the WSDL here. ", wsdl);
SOAPService ss = new SOAPService(wsdl, SERVICE_NAME);
Greeter port = ss.getSoapPort();
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/SOAPJMSTestSuiteTest.java
----------------------------------------------------------------------
diff --git a/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/SOAPJMSTestSuiteTest.java b/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/SOAPJMSTestSuiteTest.java
index 1b8939a..f474011 100644
--- a/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/SOAPJMSTestSuiteTest.java
+++ b/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/SOAPJMSTestSuiteTest.java
@@ -636,7 +636,7 @@ public class SOAPJMSTestSuiteTest extends AbstractBusClientServerTestBase {
EndpointInfo endpointInfo = new EndpointInfo();
endpointInfo.setAddress(JMSTestUtil.getFullAddress(address, broker.getBrokerURL()));
- JMSConfiguration jmsConfig = JMSConfigFactory.createFromEndpointInfo(staticBus, endpointInfo , null);
+ JMSConfiguration jmsConfig = JMSConfigFactory.createFromEndpointInfo(staticBus, endpointInfo, null);
ResourceCloser closer = new ResourceCloser();
try {
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java
----------------------------------------------------------------------
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java b/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java
index a3feda1..9573d50 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java
@@ -128,7 +128,7 @@ public class RespectBindingFeatureClientServerTest extends AbstractBusClientServ
GreeterRPCLit greeter = service.getPort(portName, GreeterRPCLit.class,
new RespectBindingFeature(false));
updateAddressPort(greeter, PORT);
- assertEquals("Bonjour" , greeter.sayHi());
+ assertEquals("Bonjour", greeter.sayHi());
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/uncategorized/src/test/java/org/apache/cxf/systest/beanincreationexception/AddNumbersPortType.java
----------------------------------------------------------------------
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/systest/beanincreationexception/AddNumbersPortType.java b/systests/uncategorized/src/test/java/org/apache/cxf/systest/beanincreationexception/AddNumbersPortType.java
index d9e4825..faeeed0 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/systest/beanincreationexception/AddNumbersPortType.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/systest/beanincreationexception/AddNumbersPortType.java
@@ -53,7 +53,7 @@ public interface AddNumbersPortType {
@WebParam(name = "userObjectList") List<UserObject> objectList,
@WebParam(name = "fileName") String fileName);
- static class UserObject {
+ class UserObject {
String myData;
public void setMyData(String s) {
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorAddressOverrideTest.java
----------------------------------------------------------------------
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorAddressOverrideTest.java b/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorAddressOverrideTest.java
index 3f987e1..a8282dc 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorAddressOverrideTest.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorAddressOverrideTest.java
@@ -51,8 +51,8 @@ public class LoadDistributorAddressOverrideTest extends FailoverAddressOverride
}
}
- private void incrementResponseCount(Map< String, Integer > responseCounts
- , String response) {
+ private void incrementResponseCount(Map< String, Integer > responseCounts,
+ String response) {
String responder = responseFrom(response);
Integer currentCount = responseCounts.get(responder);
responseCounts.put(responder, 1 + (currentCount == null ? 0 : currentCount));
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorTest.java
----------------------------------------------------------------------
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorTest.java b/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorTest.java
index 16f9dfa..eea6f4b 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorTest.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorTest.java
@@ -52,8 +52,8 @@ public class LoadDistributorTest extends FailoverTest {
}
}
- private void incrementResponseCount(Map< String, Integer > responseCounts
- , String response) {
+ private void incrementResponseCount(Map< String, Integer > responseCounts,
+ String response) {
String responder = responseFrom(response);
Integer currentCount = responseCounts.get(responder);
responseCounts.put(responder, 1 + (currentCount == null ? 0 : currentCount));
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/uncategorized/src/test/java/org/apache/cxf/systest/management/CountersClientServerTest.java
----------------------------------------------------------------------
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/systest/management/CountersClientServerTest.java b/systests/uncategorized/src/test/java/org/apache/cxf/systest/management/CountersClientServerTest.java
index 0db4f3a..95f2c10 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/systest/management/CountersClientServerTest.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/systest/management/CountersClientServerTest.java
@@ -101,7 +101,7 @@ public class CountersClientServerTest extends AbstractBusClientServerTestBase {
assertEquals("The Counters are not create yet", 4, cr.getCounters().size());
Set<?> counterNames = mbs.queryNames(name, null);
assertEquals("The Counters are not export to JMX: " + counterNames,
- 4 + 3 , counterNames.size());
+ 4 + 3, counterNames.size());
ObjectName sayHiCounter = new ObjectName(
ManagementConstants.DEFAULT_DOMAIN_NAME + ":operation=\"sayHi\",*");
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/GreeterImpl11.java
----------------------------------------------------------------------
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/GreeterImpl11.java b/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/GreeterImpl11.java
index baf0286..48272b8 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/GreeterImpl11.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/GreeterImpl11.java
@@ -54,8 +54,8 @@ public class GreeterImpl11 {
} else if (me.startsWith("E")) {
throw new Fault("invalid", LOG);
} else if (me.startsWith("newline")) {
- Exception cause = new IllegalArgumentException("Get a wrong name <greetMe>"
- , new NullPointerException("Test \n cause."));
+ Exception cause = new IllegalArgumentException("Get a wrong name <greetMe>",
+ new NullPointerException("Test \n cause."));
cause.fillInStackTrace();
throw new Fault("greetMeFault", LOG, cause);
} else {
@@ -65,8 +65,8 @@ public class GreeterImpl11 {
public String sayHi() {
// throw the exception out with some cause
- Exception cause = new IllegalArgumentException("Get a wrong name <sayHi>"
- , new NullPointerException("Test cause."));
+ Exception cause = new IllegalArgumentException("Get a wrong name <sayHi>",
+ new NullPointerException("Test cause."));
cause.fillInStackTrace();
throw new Fault("sayHiFault", LOG, cause);
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
----------------------------------------------------------------------
diff --git a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
index 1b3b9c3..c05943a 100644
--- a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
+++ b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
@@ -904,7 +904,7 @@ public class SequenceTest extends AbstractBusClientServerTestBase {
RM10_GENERIC_FAULT_ACTION};
mf.verifyActions(expectedActions, false);
mf.verifyMessageNumbers(new String[] {null, "1", null}, false);
- mf.verifyAcknowledgements(new boolean[] {false, true, false} , false);
+ mf.verifyAcknowledgements(new boolean[] {false, true, false}, false);
// the third inbound message has a SequenceFault header
mf.verifySequenceFault(RM10Constants.UNKNOWN_SEQUENCE_FAULT_QNAME, false, 2);
@@ -1018,7 +1018,7 @@ public class SequenceTest extends AbstractBusClientServerTestBase {
for (int i = 2; i < expectedAcks.length; i++) {
expectedAcks[i] = true;
}
- mf.verifyAcknowledgements(expectedAcks , true);
+ mf.verifyAcknowledgements(expectedAcks, true);
// Expected inbound:
// createSequenceResponse
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addr_responses/WSAResponsesClientServerTest.java
----------------------------------------------------------------------
diff --git a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addr_responses/WSAResponsesClientServerTest.java b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addr_responses/WSAResponsesClientServerTest.java
index 9560dbc..a142c86 100644
--- a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addr_responses/WSAResponsesClientServerTest.java
+++ b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addr_responses/WSAResponsesClientServerTest.java
@@ -54,7 +54,7 @@ public class WSAResponsesClientServerTest extends AbstractWSATestBase {
} catch (Exception e) {
String expectedDetail = "A header representing a Message Addressing Property is not valid";
if (e instanceof SOAPFaultException) {
- assertTrue("Expect fault deail : " + expectedDetail ,
+ assertTrue("Expect fault deail : " + expectedDetail,
e.getMessage().indexOf(expectedDetail) > -1);
} else {
throw e;
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/common/src/main/java/org/apache/cxf/tools/common/model/JavaType.java
----------------------------------------------------------------------
diff --git a/tools/common/src/main/java/org/apache/cxf/tools/common/model/JavaType.java b/tools/common/src/main/java/org/apache/cxf/tools/common/model/JavaType.java
index 156fce6..5f33dd5 100644
--- a/tools/common/src/main/java/org/apache/cxf/tools/common/model/JavaType.java
+++ b/tools/common/src/main/java/org/apache/cxf/tools/common/model/JavaType.java
@@ -28,7 +28,7 @@ import javax.xml.namespace.QName;
public class JavaType {
- public static enum Style { IN, OUT, INOUT }
+ public enum Style { IN, OUT, INOUT }
private static Map<String, String> typeMapping = new HashMap<String, String>();
static {
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/common/src/test/java/org/apache/cxf/tools/util/FileWriterUtilTest.java
----------------------------------------------------------------------
diff --git a/tools/common/src/test/java/org/apache/cxf/tools/util/FileWriterUtilTest.java b/tools/common/src/test/java/org/apache/cxf/tools/util/FileWriterUtilTest.java
index 323fa8e..871e48d 100644
--- a/tools/common/src/test/java/org/apache/cxf/tools/util/FileWriterUtilTest.java
+++ b/tools/common/src/test/java/org/apache/cxf/tools/util/FileWriterUtilTest.java
@@ -49,8 +49,8 @@ public class FileWriterUtilTest extends Assert {
try {
targetDir.mkdirs();
fileWriter = new FileWriterUtil(targetDir.getAbsolutePath(), null);
- fileWriter.getWriter("com.iona.test" , "A.java");
- String packPath = "/com/iona/test/A.java".replace('/' , File.separatorChar);
+ fileWriter.getWriter("com.iona.test", "A.java");
+ String packPath = "/com/iona/test/A.java".replace('/', File.separatorChar);
String path = targetDir.getAbsolutePath() + packPath;
assertNotNull(new File(path).getName());
} catch (IOException e) {
@@ -71,7 +71,7 @@ public class FileWriterUtilTest extends Assert {
try {
targetDir.mkdirs();
fileWriter = new FileWriterUtil(targetDir.getAbsolutePath(), null);
- assertNotNull(fileWriter.getWriter("com.iona.test.SAMPLE" , "A.java"));
+ assertNotNull(fileWriter.getWriter("com.iona.test.SAMPLE", "A.java"));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/corba/src/main/java/org/apache/cxf/tools/corba/idlpreprocessor/PreprocessingException.java
----------------------------------------------------------------------
diff --git a/tools/corba/src/main/java/org/apache/cxf/tools/corba/idlpreprocessor/PreprocessingException.java b/tools/corba/src/main/java/org/apache/cxf/tools/corba/idlpreprocessor/PreprocessingException.java
index 032e654..8c52ca0 100644
--- a/tools/corba/src/main/java/org/apache/cxf/tools/corba/idlpreprocessor/PreprocessingException.java
+++ b/tools/corba/src/main/java/org/apache/cxf/tools/corba/idlpreprocessor/PreprocessingException.java
@@ -29,8 +29,7 @@ public final class PreprocessingException extends RuntimeException {
private final URL url;
- public PreprocessingException(String message, URL link, int lineNo, Throwable cause)
- {
+ public PreprocessingException(String message, URL link, int lineNo, Throwable cause) {
super(message, cause);
this.url = link;
this.line = lineNo;
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java
----------------------------------------------------------------------
diff --git a/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java b/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java
index 36fafb3..7624570 100644
--- a/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java
+++ b/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java
@@ -156,9 +156,9 @@ public final class WSDLTypes {
boundedString = false;
}
} catch (NumberFormatException ex) {
- throw new Exception("illegal number" , ex);
+ throw new Exception("illegal number", ex);
} catch (Exception e) {
- throw new Exception("illegal number" , e);
+ throw new Exception("illegal number", e);
}
if (boundedString) {
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/withannotation/doc/Stock.java
----------------------------------------------------------------------
diff --git a/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/withannotation/doc/Stock.java b/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/withannotation/doc/Stock.java
index f52ccd0..d2529e8 100644
--- a/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/withannotation/doc/Stock.java
+++ b/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/withannotation/doc/Stock.java
@@ -28,9 +28,9 @@ import javax.xml.ws.ResponseWrapper;
public interface Stock {
@WebMethod
- @RequestWrapper(localName = "xXx" ,
+ @RequestWrapper(localName = "xXx",
className = "org.apache.cxf.tools.fortest.withannotation.doc.jaxws.GetPrice")
- @ResponseWrapper(localName = "zZz" ,
+ @ResponseWrapper(localName = "zZz",
className = "org.apache.cxf.tools.fortest.withannotation.doc.jaxws.GetPriceResponse")
float getPrice(String tickerSymbol);
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/withannotation/doc/Stock12Impl.java
----------------------------------------------------------------------
diff --git a/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/withannotation/doc/Stock12Impl.java b/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/withannotation/doc/Stock12Impl.java
index 5870985..88bdce5 100644
--- a/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/withannotation/doc/Stock12Impl.java
+++ b/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/withannotation/doc/Stock12Impl.java
@@ -30,9 +30,9 @@ import javax.xml.ws.soap.SOAPBinding;
@BindingType (value = SOAPBinding.SOAP12HTTP_BINDING)
public class Stock12Impl implements Stock {
@WebMethod
- @RequestWrapper(localName = "xXx" ,
+ @RequestWrapper(localName = "xXx",
className = "org.apache.cxf.tools.fortest.withannotation.doc.jaxws.GetPrice")
- @ResponseWrapper(localName = "zZz" ,
+ @ResponseWrapper(localName = "zZz",
className = "org.apache.cxf.tools.fortest.withannotation.doc.jaxws.GetPriceResponse")
public float getPrice(String tickerSymbol) {
return 0;
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/xmllist/AddNumbersPortType.java
----------------------------------------------------------------------
diff --git a/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/xmllist/AddNumbersPortType.java b/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/xmllist/AddNumbersPortType.java
index 77daafa..9ec4158 100644
--- a/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/xmllist/AddNumbersPortType.java
+++ b/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/xmllist/AddNumbersPortType.java
@@ -60,7 +60,7 @@ public interface AddNumbersPortType {
@WebParam(name = "fileName") String fileName);
- static class UserObject {
+ class UserObject {
String myData;
public void setMyData(String s) {
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java
----------------------------------------------------------------------
diff --git a/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java b/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java
index 74e1d84..6320b38 100644
--- a/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java
+++ b/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java
@@ -99,10 +99,10 @@ public class JavaToWSTest extends ToolTestBase {
JavaToWS.main(args);
File wrapper = outputFile("org/apache/cxf/tools/fortest/cxf2941/jaxws/HelloStringResponse.java");
String str = FileUtils.getStringFromFile(wrapper);
- assertTrue("namespace value in annoataion @XmlElement is not correct"
- , str.indexOf("hello/name") > -1);
- assertTrue("name value in annoataion @XmlElement is not correct"
- , str.indexOf("\"name\"") > -1);
+ assertTrue("namespace value in annoataion @XmlElement is not correct",
+ str.indexOf("hello/name") > -1);
+ assertTrue("name value in annoataion @XmlElement is not correct",
+ str.indexOf("\"name\"") > -1);
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java b/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
index 8daf996..8cab353 100644
--- a/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
+++ b/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
@@ -1128,7 +1128,7 @@ public class JAXBDataBinding implements DataBindingProfile {
writer.write("\n");
writer.write(indent);
writeDefaultValue(writer, indent, path + "/" + varName + "Val",
- varName + "Val" + cnt , cl);
+ varName + "Val" + cnt, cl);
writer.write("\n");
writer.write(indent);
writer.write(varName);
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/JAXWSClass.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/JAXWSClass.java b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/JAXWSClass.java
index 5bf1892..d408315 100644
--- a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/JAXWSClass.java
+++ b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/JAXWSClass.java
@@ -22,7 +22,7 @@ public class JAXWSClass {
private String className;
private String comments;
- public JAXWSClass(String clzName , String comment) {
+ public JAXWSClass(String clzName, String comment) {
className = clzName;
comments = comment;
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ClientGenerator.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ClientGenerator.java b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ClientGenerator.java
index f7fc307..55131f6 100644
--- a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ClientGenerator.java
+++ b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ClientGenerator.java
@@ -109,6 +109,6 @@ public class ClientGenerator extends AbstractJAXWSGenerator {
}
public void register(final ClassCollector collector, String packageName, String fileName) {
- collector.addClientClassName(packageName , fileName , packageName + "." + fileName);
+ collector.addClientClassName(packageName, fileName, packageName + "." + fileName);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/FaultGenerator.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/FaultGenerator.java b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/FaultGenerator.java
index 35830ea..47b6536 100644
--- a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/FaultGenerator.java
+++ b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/FaultGenerator.java
@@ -145,6 +145,6 @@ public class FaultGenerator extends AbstractJAXWSGenerator {
}
public void register(final ClassCollector collector, String packageName, String fileName) {
- collector.addExceptionClassName(packageName , fileName , packageName + "." + fileName);
+ collector.addExceptionClassName(packageName, fileName, packageName + "." + fileName);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/SEIGenerator.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/SEIGenerator.java b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/SEIGenerator.java
index 87e7c97..1d02ebb 100644
--- a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/SEIGenerator.java
+++ b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/SEIGenerator.java
@@ -139,6 +139,6 @@ public class SEIGenerator extends AbstractJAXWSGenerator {
}
public void register(final ClassCollector collector, String packageName, String fileName) {
- collector.addSeiClassName(packageName , fileName , packageName + "." + fileName);
+ collector.addSeiClassName(packageName, fileName, packageName + "." + fileName);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServerGenerator.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServerGenerator.java b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServerGenerator.java
index 555efe4..045ec95 100644
--- a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServerGenerator.java
+++ b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServerGenerator.java
@@ -130,6 +130,6 @@ public class ServerGenerator extends AbstractJAXWSGenerator {
}
public void register(final ClassCollector collector, String packageName, String fileName) {
- collector.addServerClassName(packageName , fileName , packageName + "." + fileName);
+ collector.addServerClassName(packageName, fileName, packageName + "." + fileName);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServiceGenerator.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServiceGenerator.java b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServiceGenerator.java
index 44345c7..3e9c295 100644
--- a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServiceGenerator.java
+++ b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/generators/ServiceGenerator.java
@@ -170,6 +170,6 @@ public class ServiceGenerator extends AbstractJAXWSGenerator {
}
public void register(final ClassCollector collector, String packageName, String fileName) {
- collector.addServiceClassName(packageName , fileName , packageName + "." + fileName);
+ collector.addServiceClassName(packageName, fileName, packageName + "." + fileName);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
index 2d28713..6978740 100644
--- a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
+++ b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
@@ -578,7 +578,7 @@ public class ParameterProcessor extends AbstractProcessor {
}
String jpname = ProcessorUtil.mangleNameToVariableName(simpleJavaName);
- JavaReturn returnType = new JavaReturn(jpname, fullJavaName , targetNamespace);
+ JavaReturn returnType = new JavaReturn(jpname, fullJavaName, targetNamespace);
returnType.setDefaultValueWriter(
ProcessorUtil.getDefaultValueWriterForWrappedElement(part, context, element));
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/wsdl11/JAXWSDefinitionBuilder.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/wsdl11/JAXWSDefinitionBuilder.java b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/wsdl11/JAXWSDefinitionBuilder.java
index 1813850..b4444ec 100644
--- a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/wsdl11/JAXWSDefinitionBuilder.java
+++ b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/wsdl11/JAXWSDefinitionBuilder.java
@@ -137,8 +137,8 @@ public class JAXWSDefinitionBuilder extends AbstractWSDLBuilder {
private void checkSupported(Definition def) throws ToolException {
if (isRPCEncoded(def)) {
org.apache.cxf.common.i18n.Message msg =
- new org.apache.cxf.common.i18n.Message("UNSUPPORTED_RPC_ENCODED"
- , LOG);
+ new org.apache.cxf.common.i18n.Message("UNSUPPORTED_RPC_ENCODED",
+ LOG);
throw new ToolException(msg);
}
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/7faee992/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenTest.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenTest.java b/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenTest.java
index c4500cd..4478602 100644
--- a/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenTest.java
+++ b/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenTest.java
@@ -1380,8 +1380,8 @@ public class CodeGenTest extends AbstractCodeGenTest {
Class<?> sei = this.classLoader.loadClass("org.apache.w3c.epr.AddNumbersPortType");
Method method = sei.getMethod("addNumbers",
new Class[]{javax.xml.ws.wsaddressing.W3CEndpointReference.class});
- assertNotNull("wsdl2java does not map w3c:EndpointReferenceType to javax.xml.ws.EndpointReference"
- , method);
+ assertNotNull("wsdl2java does not map w3c:EndpointReferenceType to javax.xml.ws.EndpointReference",
+ method);
}
@Test