You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2022/02/23 09:18:44 UTC
[struts] branch master updated (059514d -> 3e65ec1)
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git.
from 059514d Merge pull request #531 from apache/WW-5168-submit-unchecked
add 804e154 WW-5016 Adds support for LocalDate and adjusts tests to use the new Java 8 API
add e3dff76 WW-5016 Introduces different format adapters to allow use different APIs
add 5648721 WW-5016 Fixes typo in instance name
add 4746a49 WW-5016 Improves description of different patterns
add 59932a5 WW-5016 Reduces calls to TextProvider
new 3e65ec1 Merge pull request #529 from apache/WW-5016-uses-proper-format
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../StrutsDefaultConfigurationProvider.java | 6 +
.../java/org/apache/struts2/StrutsConstants.java | 3 +
.../java/org/apache/struts2/components/Date.java | 119 ++++++-----
.../struts2/components/date/DateFormatter.java | 27 ++-
.../components/date/DateTimeFormatterAdapter.java | 30 +--
.../components/date/SimpleDateFormatAdapter.java | 36 ++--
.../config/StrutsBeanSelectionProvider.java | 5 +-
.../org/apache/struts2/default.properties | 6 +
core/src/main/resources/struts-default.xml | 5 +-
.../org/apache/struts2/components/DateTest.java | 90 ++++++++
.../apache/struts2/views/jsp/ui/DateTagTest.java | 228 +++++++++++++--------
11 files changed, 370 insertions(+), 185 deletions(-)
copy plugins/convention/src/test/java/org/apache/struts2/convention/actions/result/ClassLevelResultAction.java => core/src/main/java/org/apache/struts2/components/date/DateFormatter.java (55%)
copy plugins/junit/src/test/java/org/apache/struts2/session/SessionSetAction.java => core/src/main/java/org/apache/struts2/components/date/DateTimeFormatterAdapter.java (55%)
copy apps/showcase/src/main/java/org/apache/struts2/showcase/freemarker/CustomFreemarkerManagerUtil.java => core/src/main/java/org/apache/struts2/components/date/SimpleDateFormatAdapter.java (54%)
create mode 100644 core/src/test/java/org/apache/struts2/components/DateTest.java
[struts] 01/01: Merge pull request #529 from apache/WW-5016-uses-proper-format
Posted by lu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git
commit 3e65ec1687d99cc5de18de9e77e718d965841858
Merge: 059514d 59932a5
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Wed Feb 23 10:18:37 2022 +0100
Merge pull request #529 from apache/WW-5016-uses-proper-format
[WW-5016] Adds support for LocalDate and adjusts tests to use the new Java 8 API
.../StrutsDefaultConfigurationProvider.java | 6 +
.../java/org/apache/struts2/StrutsConstants.java | 3 +
.../java/org/apache/struts2/components/Date.java | 119 ++++++-----
.../struts2/components/date/DateFormatter.java | 40 ++++
.../components/date/DateTimeFormatterAdapter.java | 43 ++++
.../components/date/SimpleDateFormatAdapter.java | 44 ++++
.../config/StrutsBeanSelectionProvider.java | 5 +-
.../org/apache/struts2/default.properties | 6 +
core/src/main/resources/struts-default.xml | 5 +-
.../org/apache/struts2/components/DateTest.java | 90 ++++++++
.../apache/struts2/views/jsp/ui/DateTagTest.java | 228 +++++++++++++--------
11 files changed, 443 insertions(+), 146 deletions(-)