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 2017/03/24 09:10:10 UTC
[15/16] struts git commit: Uses protected scope instead of private to
allow override when subclassing
Uses protected scope instead of private to allow override when subclassing
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/915e162e
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/915e162e
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/915e162e
Branch: refs/heads/master
Commit: 915e162e8edd23f62089119768b0a02646e9c782
Parents: e9d7cd0
Author: Lukasz Lenart <lu...@apache.org>
Authored: Fri Mar 17 09:25:03 2017 +0100
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Fri Mar 17 09:25:03 2017 +0100
----------------------------------------------------------------------
.../java/com/opensymphony/xwork2/StrutsTextProviderFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/915e162e/core/src/main/java/com/opensymphony/xwork2/StrutsTextProviderFactory.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/com/opensymphony/xwork2/StrutsTextProviderFactory.java b/core/src/main/java/com/opensymphony/xwork2/StrutsTextProviderFactory.java
index ff752b9..d398e69 100644
--- a/core/src/main/java/com/opensymphony/xwork2/StrutsTextProviderFactory.java
+++ b/core/src/main/java/com/opensymphony/xwork2/StrutsTextProviderFactory.java
@@ -61,7 +61,7 @@ public class StrutsTextProviderFactory implements TextProviderFactory {
return new TextProviderSupport(clazz, localeProviderFactory.createLocaleProvider(), localizedTextProvider);
}
- private TextProvider getTextProvider(ResourceBundle bundle) {
+ protected TextProvider getTextProvider(ResourceBundle bundle) {
return new TextProviderSupport(bundle, localeProviderFactory.createLocaleProvider(), localizedTextProvider);
}