Use Locale.getDefault() to initialize the language

This commit is contained in:
Florian Schmaus 2019-08-03 22:20:05 +02:00
parent 6a0e0f0f67
commit efb206f7bd
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ public abstract class ConnectionConfiguration {
private CharSequence username; private CharSequence username;
private String password; private String password;
private Resourcepart resource; private Resourcepart resource;
private Locale language = Locale.ENGLISH; private Locale language = Locale.getDefault();
private boolean sendPresence = true; private boolean sendPresence = true;
private ProxyInfo proxy; private ProxyInfo proxy;
private CallbackHandler callbackHandler; private CallbackHandler callbackHandler;