String language = routeContext.getLocal(PippoConstants.REQUEST_PARAMETER_LANG);
language = getLanguageOrDefault(language);
return language;
}
String acceptLanguage = routeContext.getHeader(HttpConstants.Header.ACCEPT_LANGUAGE);
<BUG>String language = getLanguageOrDefault(acceptLanguage);

return language;</BUG>
}
public Locale getLocaleOrDefault(RouteContext routeContext) {

String language = routeContext.getLocal(PippoConstants.REQUEST_PARAMETER_LANG);
language = getLanguageOrDefault(language);
return language;
}
String acceptLanguage = routeContext.getHeader(HttpConstants.Header.ACCEPT_LANGUAGE);
return getLanguageOrDefault(acceptLanguage);
}
public Locale getLocaleOrDefault(RouteContext routeContext) {
