Author: grobmeier
Date: Thu Jun 13 12:36:34 2013
New Revision: 1492644

URL: http://svn.apache.org/r1492644
Log:
made private methods protected

Modified:
    
struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java

Modified: 
struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java?rev=1492644&r1=1492643&r2=1492644&view=diff
==============================================================================
--- 
struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java
 (original)
+++ 
struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java
 Thu Jun 13 12:36:34 2013
@@ -175,7 +175,7 @@ public class I18nInterceptor extends Abs
      * @param session the current session
      * @return the read locale
      */
-    private Locale readStoredLocale(ActionInvocation invocation, Map<String, 
Object> session) {
+    protected Locale readStoredLocale(ActionInvocation invocation, Map<String, 
Object> session) {
         // check session for saved locale
         Object sessionLocale = session.get(attributeName);
         if (sessionLocale != null && sessionLocale instanceof Locale) {
@@ -202,7 +202,7 @@ public class I18nInterceptor extends Abs
      * @param requestedLocale the parameter from the request
      * @return the Locale
      */
-    private Locale getLocaleFromParam(Object requestedLocale) {
+    protected Locale getLocaleFromParam(Object requestedLocale) {
         Locale locale = null;
         if (requestedLocale != null) {
             locale = (requestedLocale instanceof Locale) ?


Reply via email to