diff options
author | Elliott Hughes <enh@google.com> | 2010-03-23 16:26:01 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-03-23 16:26:01 -0700 |
commit | b748a9b827665a8b19d60af4b419503b45e74329 (patch) | |
tree | bebcc938b0c13ae0c251f89d63552110ff08b420 /xml/src/main/java | |
parent | 4cc5052e494d3fb7a54b91fb06eb1758ced13e9c (diff) | |
download | libcore-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.java | 5 |
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 (); } |