diff options
author | Arne Schwabe <arne@rfc2549.org> | 2021-01-21 12:25:06 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2021-02-16 16:40:04 +0100 |
commit | ccd5b7e72cc35fd95d21a63dfcdb22ce9a738992 (patch) | |
tree | 8e2de1d0eed78eb9945f877c7ac5f74195d23043 /main/src/ui | |
parent | 96db8d0bf1110f029cf5ad90bc939cd444100600 (diff) |
Make Coverity happy
Most of these things are minor to the point that changing them is
only to make the scanner happy.
Diffstat (limited to 'main/src/ui')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java b/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java index 6ab6e2cc..ec07a77c 100644 --- a/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java +++ b/main/src/ui/java/de/blinkt/openvpn/fragments/AboutFragment.java @@ -45,6 +45,7 @@ import java.util.Vector; import de.blinkt.openvpn.R; import de.blinkt.openvpn.core.VpnStatus; +import kotlin.text.Charsets; public class AboutFragment extends Fragment implements View.OnClickListener { @@ -305,7 +306,7 @@ public class AboutFragment extends Fragment implements View.OnClickListener { try { mvpn = getActivity().getAssets().open("full_licenses.html"); - BufferedReader reader = new BufferedReader(new InputStreamReader(mvpn)); + BufferedReader reader = new BufferedReader(new InputStreamReader(mvpn, Charsets.UTF_8)); StringBuilder sb = new StringBuilder(); String line = null; while ((line = reader.readLine()) != null) { |