move new BufferedInputStream inside try{} block

Not sure this makes any material difference.
This commit is contained in:
Havoc Pennington 2011-11-12 17:44:43 -05:00
parent d5fba4b8a7
commit a706c74396

View File

@ -90,8 +90,9 @@ final class Parser {
URL url, IncludeHandler includer) {
AbstractConfigValue result = null;
try {
InputStream stream = new BufferedInputStream(url.openStream());
InputStream stream = url.openStream();
try {
stream = new BufferedInputStream(stream);
result = parse(
flavor != null ? flavor : flavorFromExtension(
url.getPath(), origin), origin, stream,