summaryrefslogtreecommitdiffstats
path: root/xml/src/main/java
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-03-23 16:26:01 -0700
committerElliott Hughes <enh@google.com>2010-03-23 16:26:01 -0700
commitb748a9b827665a8b19d60af4b419503b45e74329 (patch)
treebebcc938b0c13ae0c251f89d63552110ff08b420 /xml/src/main/java
parent4cc5052e494d3fb7a54b91fb06eb1758ced13e9c (diff)
downloadlibcore-b748a9b827665a8b19d60af4b419503b45e74329.zip
libcore-b748a9b827665a8b19d60af4b419503b45e74329.tar.gz
libcore-b748a9b827665a8b19d60af4b419503b45e74329.tar.bz2
Remove explicit 8192 arguments to BufferedReader and friends.
These were clearly added just to shut up our own warning, and are now unnecessary and misleading to future maintainers. There's one barely-related change: InputStreamReader and OutputStreamWriter are very similar, and this patch makes them more similar, and adds a few missing modifiers from their fields. Change-Id: I959011f914ff215e92bbfa41c1bac66465803685
Diffstat (limited to 'xml/src/main/java')
-rw-r--r--xml/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/xml/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java b/xml/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java
index 96151a1..b761c34 100644
--- a/xml/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java
+++ b/xml/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java
@@ -124,10 +124,7 @@ final public class XMLReaderFactory
in = loader.getResourceAsStream (service);
if (in != null) {
- // BEGIN android-modified
- reader = new BufferedReader (
- new InputStreamReader (in, "UTF8"), 8192);
- // END android-modified
+ reader = new BufferedReader (new InputStreamReader (in, "UTF8"));
className = reader.readLine ();
in.close ();
}