Fix inconsistent whitespace

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1677565 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2015-05-04 09:17:14 +00:00
parent e9340cc1ba
commit c5f9a72dd1

View File

@ -31,9 +31,7 @@ import java.util.zip.Checksum;
import org.apache.poi.EmptyFileException; import org.apache.poi.EmptyFileException;
public final class IOUtils { public final class IOUtils {
private static final POILogger logger = POILogFactory.getLogger( IOUtils.class );
private static final POILogger logger = POILogFactory
.getLogger( IOUtils.class );
private IOUtils() { private IOUtils() {
// no instances of this class // no instances of this class
@ -181,14 +179,10 @@ public final class IOUtils {
* @param closeable * @param closeable
* resource to close * resource to close
*/ */
public static void closeQuietly( final Closeable closeable ) public static void closeQuietly( final Closeable closeable ) {
{ try {
try
{
closeable.close(); closeable.close();
} } catch ( Exception exc ) {
catch ( Exception exc )
{
logger.log( POILogger.ERROR, "Unable to close resource: " + exc, logger.log( POILogger.ERROR, "Unable to close resource: " + exc,
exc ); exc );
} }