| Index: libadblockplus-android/src/org/adblockplus/libadblockplus/android/Utils.java |
| diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/Utils.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/Utils.java |
| index e755cc7f04eacfe6e38df08fe6147d5d9520b919..74798690fa55c63bfcbd07c501f28d3322693a4a 100644 |
| --- a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/Utils.java |
| +++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/Utils.java |
| @@ -39,45 +39,6 @@ public final class Utils |
| return clazz.getSimpleName(); |
| } |
| - public static String capitalizeString(final String s) |
|
anton
2017/04/17 07:12:46
not used
|
| - { |
| - if (s == null || s.length() == 0) |
| - { |
| - return ""; |
| - } |
| - |
| - final char first = s.charAt(0); |
| - |
| - return Character.isUpperCase(first) ? s : Character.toUpperCase(first) + s.substring(1); |
| - } |
| - |
| - public static void appendRawTextFile(final Context context, final StringBuilder text, final int id) |
|
anton
2017/04/17 07:12:46
not used
|
| - { |
| - try |
| - { |
| - final BufferedReader buf = new BufferedReader(new InputStreamReader(context.getResources().openRawResource(id))); |
| - |
| - try |
| - { |
| - String line; |
| - while ((line = buf.readLine()) != null) |
| - { |
| - text.append(line); |
| - text.append('\n'); |
| - } |
| - } |
| - finally |
| - { |
| - buf.close(); |
| - } |
| - |
| - } |
| - catch (final Exception e) |
| - { |
| - // Ignored for now |
| - } |
| - } |
| - |
| public static String stringListToJsonArray(List<String> list) |
| { |
| JSONArray array = new JSONArray(); |