When reading the service provider name from a jar a BufferedReader is used to read the first line from the file. BufferedReader's default buffer size is 8K chars. Since we're only reading one line (the name of a class) this is pretty excessive. Reducing this size significantly to 80 chars. The reader used to read the service provider is never closed if an IOException is thrown while reading from it. Adding a finally block so that the reader will always be closed. git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226251 13f79535-47bb-0310-9956-ffa450edef68
xml-commons/README.txt $Id$ HEAR YE, HEAR YE! Software and documentation in this repository are covered under a number of different licenses. Most files under xml-commons/java/external/ are covered under their respective LICENSE.*.txt files; see the matching README.*.txt files for descriptions. Note that xml-commons/java/external/build.xml and xml-commons/java/external/src/manifest.commons are both covered under the Apache Software License. All files not otherwise noted are covered under the Apache Software License in LICENSE.txt including all files under xml-commons/java/src
Description
Languages
Java
97.2%
HTML
2.8%