This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-5016-uses-proper-format
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/WW-5016-uses-proper-format by 
this push:
     new 5648721  WW-5016 Fixes typo in instance name
5648721 is described below

commit 5648721d07b483427ed00c4315b91f45cd359918
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Sun Feb 20 13:33:49 2022 +0100

    WW-5016 Fixes typo in instance name
---
 .../xwork2/config/providers/StrutsDefaultConfigurationProvider.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/src/main/java/com/opensymphony/xwork2/config/providers/StrutsDefaultConfigurationProvider.java
 
b/core/src/main/java/com/opensymphony/xwork2/config/providers/StrutsDefaultConfigurationProvider.java
index a5dcf99..f932373 100644
--- 
a/core/src/main/java/com/opensymphony/xwork2/config/providers/StrutsDefaultConfigurationProvider.java
+++ 
b/core/src/main/java/com/opensymphony/xwork2/config/providers/StrutsDefaultConfigurationProvider.java
@@ -222,7 +222,7 @@ public class StrutsDefaultConfigurationProvider implements 
ConfigurationProvider
 
                 .factory(ValueSubstitutor.class, EnvsValueSubstitutor.class, 
Scope.SINGLETON)
 
-                .factory(DateFormatter.class, "simpleDateFormat", 
SimpleDateFormatAdapter.class, Scope.SINGLETON)
+                .factory(DateFormatter.class, "simpleDateFormatter", 
SimpleDateFormatAdapter.class, Scope.SINGLETON)
                 .factory(DateFormatter.class, "dateTimeFormatter", 
DateTimeFormatterAdapter.class, Scope.SINGLETON)
         ;
 

Reply via email to