Skip to content

Commit 9f5e64e

Browse files
committed
Merge branch '4.1.x'
2 parents b24dc4d + 1f6150a commit 9f5e64e

File tree

27 files changed

+52
-52
lines changed

27 files changed

+52
-52
lines changed

spring-ws-core/src/main/java/org/springframework/ws/client/support/destination/Wsdl11DestinationProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public class Wsdl11DestinationProvider extends AbstractCachingDestinationProvide
5858
*/
5959
public static final String DEFAULT_WSDL_LOCATION_EXPRESSION = "/wsdl:definitions/wsdl:service/wsdl:port/soap:address/@location";
6060

61-
private static TransformerFactory transformerFactory = TransformerFactoryUtils.newInstance();
61+
private static final TransformerFactory transformerFactory = TransformerFactoryUtils.newInstance();
6262

63-
private Map<String, String> expressionNamespaces = new HashMap<>();
63+
private final Map<String, String> expressionNamespaces = new HashMap<>();
6464

6565
private XPathExpression locationXPathExpression;
6666

spring-ws-core/src/main/java/org/springframework/ws/config/annotation/WsConfigurerComposite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
@Deprecated(since = "4.0.12", forRemoval = true)
3535
public class WsConfigurerComposite implements WsConfigurer {
3636

37-
private List<WsConfigurer> delegates = new ArrayList<>();
37+
private final List<WsConfigurer> delegates = new ArrayList<>();
3838

3939
public void addWsConfigurers(List<WsConfigurer> configurers) {
4040
if (configurers != null) {

spring-ws-core/src/main/java/org/springframework/ws/pox/dom/DomPoxMessageFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class DomPoxMessageFactory extends TransformerObjectSupport implements We
4545
/** The default content type for the POX messages. */
4646
public static final String DEFAULT_CONTENT_TYPE = "application/xml";
4747

48-
private DocumentBuilderFactory documentBuilderFactory;
48+
private final DocumentBuilderFactory documentBuilderFactory;
4949

5050
private String contentType = DEFAULT_CONTENT_TYPE;
5151

spring-ws-core/src/main/java/org/springframework/ws/server/EndpointInvocationChain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
public class EndpointInvocationChain {
2828

29-
private Object endpoint;
29+
private final Object endpoint;
3030

3131
private EndpointInterceptor[] interceptors;
3232

spring-ws-core/src/main/java/org/springframework/ws/server/endpoint/adapter/method/SourcePayloadMethodProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
*/
4848
public class SourcePayloadMethodProcessor extends AbstractPayloadSourceMethodProcessor {
4949

50-
private XMLInputFactory inputFactory = createXmlInputFactory();
50+
private final XMLInputFactory inputFactory = createXmlInputFactory();
5151

5252
// MethodArgumentResolver
5353

spring-ws-core/src/main/java/org/springframework/ws/server/endpoint/adapter/method/dom/XomPayloadMethodProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
*/
5050
public class XomPayloadMethodProcessor extends AbstractPayloadSourceMethodProcessor {
5151

52-
private DocumentBuilderFactory documentBuilderFactory = createDocumentBuilderFactory();
52+
private final DocumentBuilderFactory documentBuilderFactory = createDocumentBuilderFactory();
5353

5454
@Override
5555
protected boolean supportsRequestPayloadParameter(MethodParameter parameter) {

spring-ws-core/src/main/java/org/springframework/ws/soap/SoapVersion.java

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,25 @@ public interface SoapVersion {
4242

4343
private static final String CONTENT_TYPE = "text/xml";
4444

45-
private QName ENVELOPE_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Envelope");
45+
private final QName ENVELOPE_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Envelope");
4646

47-
private QName HEADER_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Header");
47+
private final QName HEADER_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Header");
4848

49-
private QName BODY_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Body");
49+
private final QName BODY_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Body");
5050

51-
private QName FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Fault");
51+
private final QName FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Fault");
5252

53-
private QName MUST_UNDERSTAND_ATTRIBUTE_NAME = new QName(ENVELOPE_NAMESPACE_URI, "mustUnderstand");
53+
private final QName MUST_UNDERSTAND_ATTRIBUTE_NAME = new QName(ENVELOPE_NAMESPACE_URI, "mustUnderstand");
5454

55-
private QName ACTOR_NAME = new QName(ENVELOPE_NAMESPACE_URI, "actor");
55+
private final QName ACTOR_NAME = new QName(ENVELOPE_NAMESPACE_URI, "actor");
5656

57-
private QName CLIENT_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Client");
57+
private final QName CLIENT_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Client");
5858

59-
private QName SERVER_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Server");
59+
private final QName SERVER_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Server");
6060

61-
private QName MUST_UNDERSTAND_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "MustUnderstand");
61+
private final QName MUST_UNDERSTAND_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "MustUnderstand");
6262

63-
private QName VERSION_MISMATCH_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "VersionMismatch");
63+
private final QName VERSION_MISMATCH_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "VersionMismatch");
6464

6565
public QName getBodyName() {
6666
return this.BODY_NAME;
@@ -143,25 +143,25 @@ public String toString() {
143143

144144
private static final String CONTENT_TYPE = "application/soap+xml";
145145

146-
private QName ENVELOPE_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Envelope");
146+
private final QName ENVELOPE_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Envelope");
147147

148-
private QName HEADER_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Header");
148+
private final QName HEADER_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Header");
149149

150-
private QName BODY_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Body");
150+
private final QName BODY_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Body");
151151

152-
private QName FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Fault");
152+
private final QName FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Fault");
153153

154-
private QName MUST_UNDERSTAND_ATTRIBUTE_NAME = new QName(ENVELOPE_NAMESPACE_URI, "mustUnderstand");
154+
private final QName MUST_UNDERSTAND_ATTRIBUTE_NAME = new QName(ENVELOPE_NAMESPACE_URI, "mustUnderstand");
155155

156-
private QName ROLE_NAME = new QName(ENVELOPE_NAMESPACE_URI, "role");
156+
private final QName ROLE_NAME = new QName(ENVELOPE_NAMESPACE_URI, "role");
157157

158-
private QName SENDER_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Sender");
158+
private final QName SENDER_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Sender");
159159

160-
private QName RECEIVER_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Receiver");
160+
private final QName RECEIVER_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "Receiver");
161161

162-
private QName MUST_UNDERSTAND_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "MustUnderstand");
162+
private final QName MUST_UNDERSTAND_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "MustUnderstand");
163163

164-
private QName VERSION_MISMATCH_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "VersionMismatch");
164+
private final QName VERSION_MISMATCH_FAULT_NAME = new QName(ENVELOPE_NAMESPACE_URI, "VersionMismatch");
165165

166166
public QName getBodyName() {
167167
return this.BODY_NAME;

spring-ws-core/src/main/java/org/springframework/ws/soap/addressing/server/AddressingEndpointInterceptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ class AddressingEndpointInterceptor implements SoapEndpointInterceptor {
5151

5252
private final WebServiceMessageSender[] messageSenders;
5353

54-
private URI replyAction;
54+
private final URI replyAction;
5555

56-
private URI faultAction;
56+
private final URI faultAction;
5757

5858
AddressingEndpointInterceptor(AddressingVersion version, MessageIdStrategy messageIdStrategy,
5959
WebServiceMessageSender[] messageSenders, URI replyAction, URI faultAction) {

spring-ws-core/src/main/java/org/springframework/ws/soap/addressing/version/AbstractAddressingVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
*/
6565
public abstract class AbstractAddressingVersion extends TransformerObjectSupport implements AddressingVersion {
6666

67-
private static DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactoryUtils.newInstance();
67+
private static final DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactoryUtils.newInstance();
6868

6969
private final XPathExpression toExpression;
7070

spring-ws-core/src/main/java/org/springframework/ws/soap/saaj/support/SaajContentHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class SaajContentHandler implements ContentHandler {
4646

4747
private final SOAPEnvelope envelope;
4848

49-
private Map<String, String> namespaces = new LinkedHashMap<>();
49+
private final Map<String, String> namespaces = new LinkedHashMap<>();
5050

5151
/**
5252
* Constructs a new instance of the {@code SaajContentHandler} that creates children

0 commit comments

Comments
 (0)