Commit Graph

23 Commits

Author SHA1 Message Date
hduelme
151ff2872a Use List.addAll() instead of iteration.
Resolves #1336.
2023-04-05 15:02:27 -05:00
hduelme
4338acf2a8 Simplify SimpleNamespaceContext.
Take advantage of Java's newer Map APIs to better handle creation maps, inserting absent values, and then testing them.

Resolves #1308.
2023-02-06 16:27:07 -05:00
Greg L. Turnquist
1fa1365817 Polishing.
All of these instanceof checks can also take advantage of Java 17's pattern matching instanceof operator.

Related: #1326.
2023-02-06 16:20:11 -05:00
hduelme
a7a2726194 Remove null checks from instanceof checks.
As of Java 11, the Jave language officially declares that instanceof checks include a null check, hence no need to do them in our code.

Resolves #1326.
2023-02-06 16:13:43 -05:00
hdulme
e22ea7c46c Inline the creation of a new TransformerFactory.
Resolves #1303.
2023-01-05 13:13:18 -06:00
hdulme
bde18f52af Collapse identical catch branches.
Also take advantage of Java's try-with-resources feature.

Resolves #1248.
2022-11-16 11:00:16 -06:00
Greg L. Turnquist
5beca4627e Update copyright headers. 2022-11-02 10:40:23 -05:00
Greg L. Turnquist
d24b4fb5d5 #1160 - Update code style. 2020-09-29 20:40:54 -05:00
Greg L. Turnquist
2a18b1d926 SWS-1090 - Add support for 'wsjar' protocol. 2020-09-14 12:34:34 -05:00
Greg Turnquist
a16fcaae77 SWS-1050 - Warn if property doesn't exist.
Original pull request: #128
2019-01-11 12:13:43 -06:00
Greg Turnquist
1f05307d61 SWS-1049 - Replace direct API usage with better defaults. 2019-01-09 22:37:41 -06:00
Greg Turnquist
fdf638a813 SWS-1036 - Make SimpleXsdSchema's toString more resilient 2018-09-11 17:05:00 -05:00
Michal Bernhard
20de2e1583 SWS-988 - Fix typo in assertion message
Original pull-request: https://github.com/spring-projects/spring-ws/pull/67
2017-05-22 09:57:42 -05:00
Uxio
420e795607 SWS-948 Fix typo (duplicated the) 2016-02-11 14:28:44 -06:00
Greg Turnquist
396854d108 SWS-879 Add toString() to XPathExpressionFactories 2016-01-26 16:33:34 -06:00
Philippe Marschall
3c7a6b9911 SWS-921 Use varargs for XSD schemas
XML schema validation accepting multiple schemas currently uses arrays
of Resource objects. They would be a bit easier and more succinct to
use if the setters were switched to varargs. Such a change would be
backwards compatible.

This change includes:

 * change AbstractValidatingInterceptor#setSchemas to use varargs
 * change the CommonsXsdSchemaCollection constructor to use varargs
 * change CommonsXsdSchemaCollection.setXsds to use varargs
 * update the tests to use varargs

Issue: SWS-921
https://jira.spring.io/browse/SWS-921
2015-10-19 14:39:35 -05:00
Philippe Marschall
80bd84594e SWS-920 Fix javadoc warnings
Javadoc generation produces various warnings resulting in suboptimal
output.

This patch includes:

 * fix markup
 * fix broken references
 * fix links to external documentation
 * fix wrong javadoc

Issue: SWS-920
https://jira.spring.io/browse/SWS-920
2015-10-03 16:43:56 +02:00
Arjen Poutsma
7d64bebd19 Converted spaces to tabs
This commit changes leading spaces in all Java source files to tabs, to
be consistent with other Spring projects.
2015-03-18 09:54:51 +01:00
Arjen Poutsma
12a10a34f1 Bumped up compile warnings
Bumped up the compiler warning to errors.
2014-04-24 14:22:39 +02:00
Arjen Poutsma
bbc6bf5f60 Fixing javadoc 2014-04-16 17:30:39 +02:00
Arjen Poutsma
da629278e6 Added @Override annotation to interface implementations 2014-04-14 16:08:00 +02:00
Arjen Poutsma
160907a6e1 Introduced @Configuration support for Spring-WS
Introduced support for Java @Configuration classes in the form of the
@EnableWS annotation, WsConfigurationSupport and WsConfigurer.
Overall solution is quite similar to Spring-MVC's @EnableMvc.

Also added/uopdated reference documentation for the various
@Configuration options.

Issue: SWS-836
2014-04-10 15:59:41 +02:00
Arjen Poutsma
843ca6d2ef Migrated to Gradle build
This commit migrates from a Maven-based build system to a Gradle-based
one. Changes include:

- Removed archetype & parent
- Renamed core, support, test, security and xml directories to
  spring-ws-core, spring-ws-test, spring-ws-security, spring-xml
  respectively.
- Moved samples to separate project
  (https://github.com/spring-projects/spring-ws-samples)
2013-11-25 10:57:26 +01:00