commit | 6351f194635ff6a9557a1f9466ce58b0d67517ca | [log] [tgz] |
---|---|---|
author | Ken Gilmer <kgilmer@apache.org> | Wed Nov 21 01:40:43 2012 +0000 |
committer | Ken Gilmer <kgilmer@apache.org> | Wed Nov 21 01:40:43 2012 +0000 |
tree | 72b8f7f94aa684848b334bc7beee8442c65b91a0 | |
parent | e30191a76a7f4e1441f843b279d6e65f1a0acccf [diff] |
httplite: applied Ed Schaller's patch for Locale issue in Android. See FELIX-3547. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1411974 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/httplite/core/src/main/java/org/apache/felix/httplite/servlet/HttpServletRequestImpl.java b/httplite/core/src/main/java/org/apache/felix/httplite/servlet/HttpServletRequestImpl.java index 811d2bd..bde9584 100644 --- a/httplite/core/src/main/java/org/apache/felix/httplite/servlet/HttpServletRequestImpl.java +++ b/httplite/core/src/main/java/org/apache/felix/httplite/servlet/HttpServletRequestImpl.java
@@ -83,7 +83,7 @@ private final Socket m_socket; private Cookie[] m_cookies; //TODO: Make locale static and perhaps global to the service. - private final Locale m_locale = new Locale( System.getProperty( "user.language" ), System.getProperty( "user.country" ) ); + private final Locale m_locale = Locale.getDefault(); private Map m_attributes; private final ServiceRegistrationResolver m_resolver; private String m_servletPath; @@ -1168,4 +1168,4 @@ } return str_array; } -} \ No newline at end of file +}