Permalink
Browse files

httplite: applied Ed Schaller's patch for Locale issue in Android. Se…

…e FELIX-3547.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1411974 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
Ken Gilmer
Ken Gilmer committed Nov 21, 2012
1 parent 6985987 commit 47832b487ae44ea0a2fc22c7d7c6e74590f06c5f
@@ -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 @@ public int getRemotePort()
}
return str_array;
}
-}
+}

0 comments on commit 47832b4

Please sign in to comment.