struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [02/12] struts git commit: Adds default implementation of the factory
Date Thu, 16 Mar 2017 10:09:36 GMT
Adds default implementation of the factory


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/636821aa
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/636821aa
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/636821aa

Branch: refs/heads/master
Commit: 636821aa2dfc32a4531b6e65717c38625bb5b4cc
Parents: b42b9f1
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Wed Mar 15 08:46:37 2017 +0100
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Wed Mar 15 08:46:37 2017 +0100

----------------------------------------------------------------------
 .../opensymphony/xwork2/DefaultLocaleProviderFactory.java | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/636821aa/core/src/main/java/com/opensymphony/xwork2/DefaultLocaleProviderFactory.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/com/opensymphony/xwork2/DefaultLocaleProviderFactory.java
b/core/src/main/java/com/opensymphony/xwork2/DefaultLocaleProviderFactory.java
new file mode 100644
index 0000000..7abb64f
--- /dev/null
+++ b/core/src/main/java/com/opensymphony/xwork2/DefaultLocaleProviderFactory.java
@@ -0,0 +1,10 @@
+package com.opensymphony.xwork2;
+
+public class DefaultLocaleProviderFactory implements LocaleProviderFactory {
+
+    @Override
+    public LocaleProvider createLocaleProvider() {
+        return new DefaultLocaleProvider();
+    }
+
+}


Mime
View raw message