From 9b93e5e050bba73cd9541431031bcf6f103c985e Mon Sep 17 00:00:00 2001 From: Christian Grobmeier Date: Thu, 13 Jun 2013 12:36:34 +0000 Subject: [PATCH] made private methods protected git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1492644 13f79535-47bb-0310-9956-ffa450edef68 --- .../com/opensymphony/xwork2/interceptor/I18nInterceptor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java b/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java index c6abe49cd..f2088d359 100644 --- a/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java +++ b/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/I18nInterceptor.java @@ -175,7 +175,7 @@ public class I18nInterceptor extends AbstractInterceptor { * @param session the current session * @return the read locale */ - private Locale readStoredLocale(ActionInvocation invocation, Map session) { + protected Locale readStoredLocale(ActionInvocation invocation, Map 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 AbstractInterceptor { * @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) ?