This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a change to branch WW-3476-scoped-constants
in repository https://gitbox.apache.org/repos/asf/struts.git
from 545c5703f WW-3476 test(config): pin ScopedConstantProvider wiring on
the Dispatcher path
add 4931d3421 WW-3476 test(config): drop the xwork prefix from
scoped-constant fixtures
add 6562ac22f WW-3476 fix(config): skip ScopableConstants bean names
without an instance
add dc4305acd WW-3476 refactor(config): resolve Configuration and scopable
names from the container once
add 7645bc63c WW-3476 refactor(config): address Sonar findings on scoped
constants
No new revisions were added by this update.
Summary of changes:
.../org/apache/struts2/config/ScopableConstants.java | 5 ++++-
.../struts2/config/StrutsScopedConstantProvider.java | 20 ++++----------------
.../struts2/config/entities/PackageConfig.java | 4 ++--
...ableConstants.java => ScopableConstantsTest.java} | 20 ++++++++++++++++----
.../struts2/config/entities/PackageConfigTest.java | 10 +++++++---
.../XmlConfigurationProviderPackagesTest.java | 6 +++---
...-duplicate.xml => scoped-constants-duplicate.xml} | 0
...onstants.xml => scoped-constants-inheritance.xml} | 0
...ants-old-dtd.xml => scoped-constants-old-dtd.xml} | 0
9 files changed, 36 insertions(+), 29 deletions(-)
copy
core/src/test/java/org/apache/struts2/config/{SecondScopableConstants.java =>
ScopableConstantsTest.java} (62%)
rename
core/src/test/resources/org/apache/struts2/config/providers/{xwork-test-scoped-constants-duplicate.xml
=> scoped-constants-duplicate.xml} (100%)
rename
core/src/test/resources/org/apache/struts2/config/providers/{xwork-test-scoped-constants.xml
=> scoped-constants-inheritance.xml} (100%)
rename
core/src/test/resources/org/apache/struts2/config/providers/{xwork-test-scoped-constants-old-dtd.xml
=> scoped-constants-old-dtd.xml} (100%)