diff options
author | Arne Schwabe <arne@rfc2549.org> | 2016-05-03 10:40:21 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2016-05-03 10:40:28 +0200 |
commit | 3cc9dfb875e579cc5d08c1c697ccc414ef98f215 (patch) | |
tree | e6bfa446ea472f13376dcb6ce39349fcaf4b1beb | |
parent | 0d158ea62d9e72fb3aaebf72cdab6c076302c53e (diff) |
Fix minor warnings
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/VpnProfile.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java index 11656ee3..31a52ec0 100644 --- a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java +++ b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java @@ -272,7 +272,7 @@ public class VpnProfile implements Serializable, Cloneable { if (!configForOvpn3) { cfg += String.format("setenv IV_GUI_VER %s \n", openVpnEscape(getVersionEnvString(context))); - String versionString = String.format("%d %s %s %s %s %s", Build.VERSION.SDK_INT, Build.VERSION.RELEASE, + String versionString = String.format(Locale.US, "%d %s %s %s %s %s", Build.VERSION.SDK_INT, Build.VERSION.RELEASE, NativeUtils.getNativeAPI(), Build.BRAND, Build.BOARD, Build.MODEL); cfg += String.format("setenv IV_PLAT_VER %s\n", openVpnEscape(versionString)); } @@ -450,7 +450,7 @@ public class VpnProfile implements Serializable, Cloneable { if (mMssFix != 0) { if (mMssFix != 1450) { - cfg += String.format("mssfix %d\n", mMssFix, Locale.US); + cfg += String.format(Locale.US, "mssfix %d\n", mMssFix); } else cfg += "mssfix\n"; } |