Commit Graph

1090 Commits

Author SHA1 Message Date
Rossen Stoyanchev
3bb4e6c3a7 Polishing contribution 2020-05-04 20:10:12 +01:00
Lars Grefer
2be8bcbc18 Java 8: Anonymous type can be replaced with lambda 2020-05-04 20:10:12 +01:00
Lars Grefer
ef48c15603 Java 7: 'try finally' replaceable with 'try' with resources 2020-05-04 20:10:12 +01:00
Lars Grefer
78e8f7a3f8 Java 7: Identical 'catch' branches in 'try' statement 2020-05-04 20:10:12 +01:00
Lars Grefer
55137e101a Java 7: Explicit type can be replaced with <> 2020-05-04 20:10:12 +01:00
Lars Grefer
ab69df656d Java 5: Unnecessary boxing 2020-05-04 20:10:12 +01:00
Lars Grefer
7caa67f302 Java 5: 'while' and for-loop replaceable with 'foreach' 2020-05-04 20:10:12 +01:00
Brian Clozel
92ed854f97 Remove Gradle propdeps plugin
This commit removes the propdeps plugin.
"provided" configurations are replaced with "compileOnly", "testCompile"
configurations.
The "optional" configuration supported by propdeps is now replaced by a
local Gradle plugin defining a specific configuration for that.

As a result of that change, optional/provided dependencies are not
published with the POMs anymore.
2020-05-01 07:36:27 +01:00
Brian Clozel
2f2c2e0313 Use Spring dependency management plugin
This commit introduces the Spring dependency management Gradle
plugin. All dependency versions and BOMs are now managed in the
root project and declared in the modules directly.
2020-05-01 07:36:27 +01:00
Brian Clozel
780bb68bdb Move build files into each module
This commit moves each project build configuration into its own file
and keeps the common configuration in the root project.
2020-05-01 07:36:27 +01:00
Rossen Stoyanchev
84170260ef All tests are executing again
Following the upgrade to JUnit 5 in gh-99, only the few remaining older
style tests extending from TestCase were being executed. This change
ensures JUnit 5 tests are executing as well.
2020-04-28 18:12:59 +01:00
Rossen Stoyanchev
2e1a289efb Upgrade Gradle 5.6 -> 5.6.4 and propdeps plugin 2020-04-28 08:01:56 +01:00
Etienne Dysli Metref
cadaaad605 Upgrade Web Flow tests from JUnit 4 to 5
Replace imports:
org.junit.Assert.* -> org.junit.jupiter.api.Assertions.*
org.junit.After    -> org.junit.jupiter.api.AfterEach
org.junit.Before   -> org.junit.jupiter.api.BeforeEach

Move the `message` argument to last position.

Issue: SWF-1739
2019-10-16 14:55:42 +01:00
Etienne Dysli Metref
ceb44a6634 Upgrade Web Flow tests from JUnit 3 to 4
Remove `extends TestCase` from all test classes and add `@Before`,
`@After`, and `@Test` method annotations.

Note that class `JsfUtilsTests` still indirectly inherits from
`TestCase` via `org.apache.myfaces.test.base.AbstractJsfTestCase`.

Issue: SWF-1739
2019-10-16 14:55:15 +01:00
Rossen Stoyanchev
eb7c543c0f Upgrade to Spring Framework 5.1.7 2019-06-04 10:11:49 -04:00
Rossen Stoyanchev
d1eec2db7f Convert DefaultDocumentLoader to UNIX line breaks 2019-06-04 10:08:35 -04:00
Spring Operator
7edadce7bf URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 639 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-06-04 08:43:29 -04:00
Spring Operator
d4a8ea9c47 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://joda-time.sourceforge.net/ (200) with 1 occurrences could not be migrated:
   ([https](https://joda-time.sourceforge.net/) result AnnotatedConnectException).
* http://www.jjg.net/ia/visvocab/ (200) with 1 occurrences could not be migrated:
   ([https](https://www.jjg.net/ia/visvocab/) result AnnotatedConnectException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://xmlns.jcp.org/xml/ns/persistence/orm_2_1.xsd (301) with 1 occurrences migrated to:
  https://www.oracle.com/webfolder/technetwork/jsc/xml/ns/persistence/orm_2_1.xsd ([https](https://xmlns.jcp.org/xml/ns/persistence/orm_2_1.xsd) result InvalidMediaTypeException).
* http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd (ReadTimeoutException) with 2 occurrences migrated to:
  https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ([https](https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd) result ReadTimeoutException).
* http://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd (404) with 2 occurrences migrated to:
  https://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd ([https](https://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://static.springframework.org/spring-security/site/reference.html (301) with 2 occurrences migrated to:
  https://docs.spring.io/spring-security/site/reference.html ([https](https://static.springframework.org/spring-security/site/reference.html) result 200).
* http://static.springsource.org/spring/docs/2.5.x/reference/mvc.html (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/2.5.x/reference/mvc.html ([https](https://static.springsource.org/spring/docs/2.5.x/reference/mvc.html) result 200).
* http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/3.0.x/spring-framework-reference/html/expressions.html ([https](https://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html) result 200).
* http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/index.html (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/3.0.x/spring-framework-reference/html/index.html ([https](https://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/index.html) result 200).
* http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/mvc.html (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/3.0.x/spring-framework-reference/html/mvc.html ([https](https://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/mvc.html) result 200).
* http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/validation.html (301) with 2 occurrences migrated to:
  https://docs.spring.io/spring/docs/3.0.x/spring-framework-reference/html/validation.html ([https](https://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/validation.html) result 200).
* http://en.wikipedia.org/wiki/Unified_Expression_Language with 1 occurrences migrated to:
  https://en.wikipedia.org/wiki/Unified_Expression_Language ([https](https://en.wikipedia.org/wiki/Unified_Expression_Language) result 200).
* http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd (301) with 2 occurrences migrated to:
  https://hibernate.org/dtd/hibernate-mapping-3.0.dtd ([https](https://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd) result 200).
* http://jira.spring.io with 1 occurrences migrated to:
  https://jira.spring.io ([https](https://jira.spring.io) result 200).
* http://primefaces.org/documentation.html with 1 occurrences migrated to:
  https://primefaces.org/documentation.html ([https](https://primefaces.org/documentation.html) result 200).
* http://search.maven.org with 1 occurrences migrated to:
  https://search.maven.org ([https](https://search.maven.org) result 200).
* http://tiles.apache.org/dtds/tiles-config_3_0.dtd with 1 occurrences migrated to:
  https://tiles.apache.org/dtds/tiles-config_3_0.dtd ([https](https://tiles.apache.org/dtds/tiles-config_3_0.dtd) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 15 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* http://www.springframework.org/schema/faces/spring-faces.xsd with 4 occurrences migrated to:
  https://www.springframework.org/schema/faces/spring-faces.xsd ([https](https://www.springframework.org/schema/faces/spring-faces.xsd) result 200).
* http://www.springframework.org/schema/mvc/spring-mvc.xsd with 4 occurrences migrated to:
  https://www.springframework.org/schema/mvc/spring-mvc.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc.xsd) result 200).
* http://www.springframework.org/schema/webflow-config/spring-webflow-config.xsd with 6 occurrences migrated to:
  https://www.springframework.org/schema/webflow-config/spring-webflow-config.xsd ([https](https://www.springframework.org/schema/webflow-config/spring-webflow-config.xsd) result 200).
* http://www.springframework.org/schema/webflow/spring-webflow.xsd with 45 occurrences migrated to:
  https://www.springframework.org/schema/webflow/spring-webflow.xsd ([https](https://www.springframework.org/schema/webflow/spring-webflow.xsd) result 200).
* http://docs.spring.io/spring/docs/current/spring-framework-reference/html/expressions.html with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/current/spring-framework-reference/html/expressions.html ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/html/expressions.html) result 301).
* http://springframework.org with 1 occurrences migrated to:
  https://springframework.org ([https](https://springframework.org) result 301).
* http://www.docbook.org/xml/5.0/xsd/docbook.xsd with 16 occurrences migrated to:
  https://www.docbook.org/xml/5.0/xsd/docbook.xsd ([https](https://www.docbook.org/xml/5.0/xsd/docbook.xsd) result 301).
* http://www.docbook.org/xml/5.0/xsd/xlink.xsd with 15 occurrences migrated to:
  https://www.docbook.org/xml/5.0/xsd/xlink.xsd ([https](https://www.docbook.org/xml/5.0/xsd/xlink.xsd) result 301).
* http://java.sun.com/dtd/facelet-taglib_1_0.dtd with 1 occurrences migrated to:
  https://java.sun.com/dtd/facelet-taglib_1_0.dtd ([https](https://java.sun.com/dtd/facelet-taglib_1_0.dtd) result 302).
* http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd with 1 occurrences migrated to:
  https://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd ([https](https://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd) result 302).
* http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd with 1 occurrences migrated to:
  https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd) result 302).
* http://repo.spring.io/snapshot with 1 occurrences migrated to:
  https://repo.spring.io/snapshot ([https](https://repo.spring.io/snapshot) result 302).
* http://www.paypal.com?_callbackUrl= with 1 occurrences migrated to:
  https://www.paypal.com?_callbackUrl= ([https](https://www.paypal.com?_callbackUrl=) result 302).

# Ignored
These URLs were intentionally ignored.

* http://docbook.org/ns/docbook with 32 occurrences
* http://java.sun.com/jsf/facelets with 2 occurrences
* http://java.sun.com/jsf/html with 2 occurrences
* http://java.sun.com/xml/ns/javaee with 2 occurrences
* http://java.sun.com/xml/ns/persistence with 2 occurrences
* http://localhost/app/hotels/booking?hotelId=1 with 1 occurrences
* http://www.springframework.org/schema/beans with 30 occurrences
* http://www.springframework.org/schema/faces with 8 occurrences
* http://www.springframework.org/schema/mvc with 8 occurrences
* http://www.springframework.org/schema/webflow with 96 occurrences
* http://www.springframework.org/schema/webflow-config with 12 occurrences
* http://www.springframework.org/security/tags with 2 occurrences
* http://www.springframework.org/security/tags&lt;/namespace&gt with 1 occurrences
* http://www.w3.org/1999/xhtml with 2 occurrences
* http://www.w3.org/1999/xlink with 30 occurrences
* http://www.w3.org/2001/XInclude with 31 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 81 occurrences
* http://xmlns.jcp.org/xml/ns/persistence/orm with 2 occurrences
2019-06-04 08:39:26 -04:00
Spring Operator
8c76ad9e0b URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://url.somewhereelse.com (200) with 2 occurrences could not be migrated:
   ([https](https://url.somewhereelse.com) result SSLHandshakeException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://progit.org/book/ch5-2.html (301) with 1 occurrences migrated to:
  https://progit.org/book/ch5-2.html ([https](https://progit.org/book/ch5-2.html) result SSLHandshakeException).
* [ ] http://&lt;host&gt;/ (UnknownHostException) with 2 occurrences migrated to:
  https://&lt;host&gt;/ ([https](https://&lt;host&gt;/) result UnknownHostException).
* [ ] http://someHost/someApp/someServlet/foo (UnknownHostException) with 1 occurrences migrated to:
  https://someHost/someApp/someServlet/foo ([https](https://someHost/someApp/someServlet/foo) result UnknownHostException).
* [ ] http://someHost/someApp/someServlet/nestedPath/bar (UnknownHostException) with 1 occurrences migrated to:
  https://someHost/someApp/someServlet/nestedPath/bar ([https](https://someHost/someApp/someServlet/nestedPath/bar) result UnknownHostException).
* [ ] http://someHost/someApp/someServlet/nestedPath/bar.html (UnknownHostException) with 1 occurrences migrated to:
  https://someHost/someApp/someServlet/nestedPath/bar.html ([https](https://someHost/someApp/someServlet/nestedPath/bar.html) result UnknownHostException).
* [ ] http://someHost/someApp/someServlet/nestedPath/foo (UnknownHostException) with 2 occurrences migrated to:
  https://someHost/someApp/someServlet/nestedPath/foo ([https](https://someHost/someApp/someServlet/nestedPath/foo) result UnknownHostException).
* [ ] http://someHost/someApp/someServlet/nestedPath/foo.html (UnknownHostException) with 2 occurrences migrated to:
  https://someHost/someApp/someServlet/nestedPath/foo.html ([https](https://someHost/someApp/someServlet/nestedPath/foo.html) result UnknownHostException).
* [ ] http://someOtherSystem?orderId= (UnknownHostException) with 2 occurrences migrated to:
  https://someOtherSystem?orderId= ([https](https://someOtherSystem?orderId=) result UnknownHostException).
* [ ] http://url.somewhere.com (UnknownHostException) with 2 occurrences migrated to:
  https://url.somewhere.com ([https](https://url.somewhere.com) result UnknownHostException).
* [ ] http://book.git-scm.com/4_interactive_rebasing.html (301) with 1 occurrences migrated to:
  https://book.git-scm.com/4_interactive_rebasing.html ([https](https://book.git-scm.com/4_interactive_rebasing.html) result 404).
* [ ] http://download.dojotoolkit.org/release- (301) with 1 occurrences migrated to:
  https://download.dojotoolkit.org/release- ([https](https://download.dojotoolkit.org/release-) result 404).
* [ ] http://help.github.com/send-pull-requests (404) with 2 occurrences migrated to:
  https://help.github.com/send-pull-requests ([https](https://help.github.com/send-pull-requests) result 404).
* [ ] http://svn.dojotoolkit.org/src/util/trunk/buildscripts/profiles/standard.profile.js (404) with 1 occurrences migrated to:
  https://svn.dojotoolkit.org/src/util/trunk/buildscripts/profiles/standard.profile.js ([https](https://svn.dojotoolkit.org/src/util/trunk/buildscripts/profiles/standard.profile.js) result 404).
* [ ] http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd (404) with 1 occurrences migrated to:
  https://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd ([https](https://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd) result 404).
* [ ] http://www.springframework.org/schema/webflow/spring-webflow-2.4.xsd (404) with 1 occurrences migrated to:
  https://www.springframework.org/schema/webflow/spring-webflow-2.4.xsd ([https](https://www.springframework.org/schema/webflow/spring-webflow-2.4.xsd) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://bugs.dojotoolkit.org/ticket/6849 with 1 occurrences migrated to:
  https://bugs.dojotoolkit.org/ticket/6849 ([https](https://bugs.dojotoolkit.org/ticket/6849) result 200).
* [ ] http://docs.spring.io/spring-webflow/docs/current/api/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-webflow/docs/current/api/ ([https](https://docs.spring.io/spring-webflow/docs/current/api/) result 200).
* [ ] http://docs.spring.io/spring-webflow/docs/current/reference/html/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-webflow/docs/current/reference/html/ ([https](https://docs.spring.io/spring-webflow/docs/current/reference/html/) result 200).
* [ ] http://static.springframework.org/spring-webflow/images/spring-webflow.jpg (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-webflow/images/spring-webflow.jpg ([https](https://static.springframework.org/spring-webflow/images/spring-webflow.jpg) result 200).
* [ ] http://projects.spring.io/spring-webflow/ with 1 occurrences migrated to:
  https://projects.spring.io/spring-webflow/ ([https](https://projects.spring.io/spring-webflow/) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-webflow with 1 occurrences migrated to:
  https://stackoverflow.com/questions/tagged/spring-webflow ([https](https://stackoverflow.com/questions/tagged/spring-webflow) result 200).
* [ ] http://www.martinfowler.com/articles/mocksArentStubs.html with 2 occurrences migrated to:
  https://www.martinfowler.com/articles/mocksArentStubs.html ([https](https://www.martinfowler.com/articles/mocksArentStubs.html) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 2 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool-3.0.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/tool/spring-tool-3.0.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-3.0.xsd) result 200).
* [ ] http://www.springframework.org/schema/webflow/spring-webflow.xsd with 2 occurrences migrated to:
  https://www.springframework.org/schema/webflow/spring-webflow.xsd ([https](https://www.springframework.org/schema/webflow/spring-webflow.xsd) result 200).
* [ ] http://www.w3.org/XML/1998/namespace with 1 occurrences migrated to:
  https://www.w3.org/XML/1998/namespace ([https](https://www.w3.org/XML/1998/namespace) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://forum.springsource.org/forumdisplay.php?36-Web-Flow (301) with 1 occurrences migrated to:
  https://forum.spring.io/forumdisplay.php?36-Web-Flow ([https](https://forum.springsource.org/forumdisplay.php?36-Web-Flow) result 301).
* [ ] http://jira.springsource.org/browse/SWF with 1 occurrences migrated to:
  https://jira.springsource.org/browse/SWF ([https](https://jira.springsource.org/browse/SWF) result 301).
* [ ] http://xml.apache.org/xalan with 1 occurrences migrated to:
  https://xml.apache.org/xalan ([https](https://xml.apache.org/xalan) result 301).
* [ ] http://java.sun.com/xml/jaxp/properties/schemaLanguage with 1 occurrences migrated to:
  https://java.sun.com/xml/jaxp/properties/schemaLanguage ([https](https://java.sun.com/xml/jaxp/properties/schemaLanguage) result 302).
* [ ] http://repo.spring.io/snapshot with 1 occurrences migrated to:
  https://repo.spring.io/snapshot ([https](https://repo.spring.io/snapshot) result 302).
* [ ] http://springsource.com/support/springsupport with 1 occurrences migrated to:
  https://springsource.com/support/springsupport ([https](https://springsource.com/support/springsupport) result 302).
* [ ] http://www.paypal.com with 4 occurrences migrated to:
  https://www.paypal.com ([https](https://www.paypal.com) result 302).
* [ ] http://www.paypal.com?_callbackUrl= with 1 occurrences migrated to:
  https://www.paypal.com?_callbackUrl= ([https](https://www.paypal.com?_callbackUrl=) result 302).

# Ignored
These URLs were intentionally ignored.

* http://localhost/springtravel/app/booking with 1 occurrences
* http://localhost/springtravel/app/flight/booking with 1 occurrences
* http://localhost/springtravel/app/hotel/booking with 1 occurrences
* http://localhost/springtravel/app/hotels/booking with 1 occurrences
* http://localhost/springtravel/app/hotels/booking?execution=e1s1 with 1 occurrences
* http://localhost/springtravel/hotels/booking.htm with 1 occurrences
* http://www.springframework.org/schema/beans with 4 occurrences
* http://www.springframework.org/schema/faces with 2 occurrences
* http://www.springframework.org/schema/tool with 2 occurrences
* http://www.springframework.org/schema/webflow with 39 occurrences
* http://www.springframework.org/schema/webflow-config with 2 occurrences
* http://www.springframework.org/schema/webflow/spring-webflow.xsd&quot;&gt with 1 occurrences
* http://www.w3.org/1999/XSL/Transform with 1 occurrences
* http://www.w3.org/2001/XMLSchema with 4 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 2 occurrences
2019-06-04 08:37:31 -04:00
Rossen Stoyanchev
962cb673cf Use SimpleEvaluationContext in AbstractMvcView
Issue: SWF-1722
2018-03-27 13:41:57 -04:00
Rossen Stoyanchev
9328890eaf Drop Hibernate 3/4 compatibility code 2018-02-08 18:50:45 -05:00
Rossen Stoyanchev
da6d1492c1 Fix warnings 2018-02-08 18:50:40 -05:00
Rossen Stoyanchev
5eb6c3f402 Restore throws declarations on public/protected methods 2018-02-08 16:33:24 -05:00
Rossen Stoyanchev
86cf4abbe5 Default methods in FlowExecutionListener 2018-02-08 16:12:50 -05:00
Rossen Stoyanchev
0c9514ed36 dos2unix on FluxExecutionListener + adapter 2018-02-08 16:10:50 -05:00
Rossen Stoyanchev
6d5a8debd5 Polish
Remove:
- auto-boxing
- unnecessary array creation
- public keyword on interface methods
- unnecessary throws clauses

Use lambda expressions
2018-02-08 15:47:21 -05:00
Rossen Stoyanchev
d66c25ffd0 Use diamond operator
Issue: SWF-1718
2018-02-08 13:06:46 -05:00
Rossen Stoyanchev
0a618b0791 Streamline XML namespace support towards unversioned schemas
Issue: SWF-1701
2018-02-07 21:55:11 -05:00
Rossen Stoyanchev
19be41f9af Fix regression after GenericApplicationContext change
Issue: SWF-1713
2017-12-15 14:37:50 -05:00
Rossen Stoyanchev
084b4e711c Check default binding expressions
This commit introduces a check on default data binding expressions
and ignores those that don't look property paths of the model.

Issue: SWF-1711
2017-09-15 10:39:20 -04:00
Rossen Stoyanchev
93e499332d Adapt to AbstractMessageSource null -> "" change
AbstractMessageSource#getMessage now returns "" instead of null and
FlowResourceELResolver needs to change accordingly in order to give
other resolvers a chance.
2017-06-22 16:42:20 -04:00
Rossen Stoyanchev
ec3d54d230 Use fixed parser for empty value binding expressions 2017-05-31 11:45:59 -04:00
Rossen Stoyanchev
ff2468556e Use Thread ContextClassLoader in ConfigurableObjectInputStream
Issue: SWF-1690
2017-05-23 16:22:46 -04:00
Rossen Stoyanchev
7ade1b8c81 Catch up with the latest Spring Framework 5 snapshot 2017-02-02 14:02:15 -05:00
Rossen Stoyanchev
ac03032fd4 Purge deprecated classes
Issue: SWF-1694
2017-01-06 16:47:57 -05:00
Rossen Stoyanchev
b263c1c87a Remove OGNL expression support
Issue: SWF-1694
2017-01-06 16:47:41 -05:00
Rossen Stoyanchev
4fb1b99a8b Dependency updates
Spring Security 4.1.0  -> 4.2.1
Commons Logging 1.1.1  -> 1.2
Log4j           1.7.22 -> 2.7
Servlet API     3.0.1  -> 3.1.0
Tiles           3.0.5  -> 3.0.7
JUnit           4.1.11 -> 4.1.12

Issue: SWF-1692
2017-01-06 16:47:19 -05:00
Rossen Stoyanchev
f2cb911c3f Upgrade Gradle to 3.2.1 2017-01-06 16:47:18 -05:00
Rossen Stoyanchev
3a0857496e Remove remaining Portlet references
Issue: SWF-1692
2017-01-06 16:47:06 -05:00
Rossen Stoyanchev
5b0df65be4 Fold spring-js + spring-js-tiles3 into spring-webflow
Issue: SWF-1693
2017-01-06 16:46:46 -05:00
Rossen Stoyanchev
deeaeab894 Shortest path to tests running with Spring Framework 5
Upgrade to Java 8+

Remove Portlet, Tiles2, and Hibernate 3 + 4 support

Issue: SWF-1692
2017-01-06 16:44:58 -05:00
Rossen Stoyanchev
1f3fec8cde Add hosts property to FlowHandlerAdapter
Issue: SWF-1680
2016-06-16 17:45:54 -04:00
Rossen Stoyanchev
0dc8b52c72 Update minor versions of dependencies
Spring Framework 4.2.x -> 4.3.0
Spring Security  4.0.x -> 4.1.0
Hibernate        4.2.x -> 4.3.11
2016-06-16 16:25:12 -04:00
Andy Wilkinson
0d172244cc Make Hibernate-related test compatible with Hibernate 4 and 5 2016-04-15 16:08:28 +01:00
Andy Wilkinson
2d579c2e52 Make HibernateFlowExecutionListener compatible with Hibernate 5 2016-04-15 15:15:04 +01:00
Rossen Stoyanchev
ee58d02cbf Use thread-safe list to store conversations
While the methods manipulating or accessing the list are synchronized,
the ConversationContainer class is also subject to serialization.

Issue: SWF-1668
2015-08-19 18:17:53 -04:00
Rossen Stoyanchev
f4d07d8826 Fix line endings 2015-08-19 18:11:09 -04:00
Rossen Stoyanchev
3d402728b6 Polish ConversationContainer 2015-08-19 18:10:21 -04:00
Andy Wilkinson
99d975c0f1 Make tests compatible with Spring Framework 4.2
Spring Framework 4.2 removes the queryForInt method on JdbcTemplate in
favour of queryForObject which is also available in earlier versions.
This commit replaces calls to queryForInt with queryForObject, thereby
allowing the tests to be run against Spring Framework 4.1 (the default)
and Spring Framework 4.2 (for Spring IO Platform 2.0 compatibility
testing).
2015-07-10 05:32:25 -04:00
Rossen Stoyanchev
61291fbdab Detect changes in parent flow definitions
Issue: SWF-1662
2015-06-04 22:04:19 -04:00