Index: src/org/adblockplus/android/AdblockPlus.java |
diff --git a/src/org/adblockplus/android/AdblockPlus.java b/src/org/adblockplus/android/AdblockPlus.java |
index 1818febdc881a3820ed46fdedfdb36fbe1d2a6b1..e74e760fcf9cf7ce32f441735cef0a84ca8cfeca 100755 |
--- a/src/org/adblockplus/android/AdblockPlus.java |
+++ b/src/org/adblockplus/android/AdblockPlus.java |
@@ -17,11 +17,9 @@ |
package org.adblockplus.android; |
-import java.io.BufferedReader; |
import java.io.File; |
import java.io.FileNotFoundException; |
import java.io.IOException; |
-import java.io.InputStream; |
import java.io.InputStreamReader; |
import java.util.List; |
import java.util.regex.Pattern; |
@@ -143,25 +141,6 @@ public class AdblockPlus extends Application |
return Utils.capitalizeString(manufacturer) + " " + model; |
} |
- public static void appendRawTextFile(final Context context, final StringBuilder text, final int id) |
- { |
- // TODO: What about closing the resources? |
- final InputStream inputStream = context.getResources().openRawResource(id); |
- final InputStreamReader in = new InputStreamReader(inputStream); |
- final BufferedReader buf = new BufferedReader(in); |
- String line; |
- try |
- { |
- while ((line = buf.readLine()) != null) |
- text.append(line); |
- } |
- catch (final IOException e) |
- { |
- // TODO: How about real logging? |
- e.printStackTrace(); |
- } |
- } |
- |
/** |
* Checks if device has a WiFi connection available. |
*/ |