From b748a9b827665a8b19d60af4b419503b45e74329 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 23 Mar 2010 16:26:01 -0700 Subject: 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 --- xml/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'xml/src/main/java/org') 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 (); } -- cgit v1.1