X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Futil%2Fio%2FCloser.java;h=ea99081d805f63c2ce8c0ab9d1cd027f3c32d7c9;hb=bbfa208695e2a7f1bb555f841623945767f296e7;hp=b4481ac284ea25b388e0231d6842daf979dd62ee;hpb=da127cd41fa65b7ec217f8e9f525ed7534abf5e1;p=jSite.git diff --git a/src/de/todesbaum/util/io/Closer.java b/src/de/todesbaum/util/io/Closer.java index b4481ac..ea99081 100644 --- a/src/de/todesbaum/util/io/Closer.java +++ b/src/de/todesbaum/util/io/Closer.java @@ -1,16 +1,16 @@ /* * todesbaum-lib - Copyright (C) 2006 David Roden - * + * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. - * + * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. - * + * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place - Suite 330, Boston, MA 02111-1307, USA. @@ -35,7 +35,7 @@ import java.sql.Statement; * so that clean-up code can be written with less code. All methods check that * the given resource is not null before invoking the close() * method of the respective type. - * + * * @author David ‘Bombe&squo; * Roden * @version $Id$ @@ -44,7 +44,7 @@ public class Closer { /** * Closes the given result set. - * + * * @param resultSet * The result set to close * @see ResultSet#close() @@ -60,7 +60,7 @@ public class Closer { /** * Closes the given statement. - * + * * @param statement * The statement to close * @see Statement#close() @@ -76,7 +76,7 @@ public class Closer { /** * Closes the given connection. - * + * * @param connection * The connection to close * @see Connection#close() @@ -92,7 +92,7 @@ public class Closer { /** * Closes the given server socket. - * + * * @param serverSocket * The server socket to close * @see ServerSocket#close() @@ -108,7 +108,7 @@ public class Closer { /** * Closes the given socket. - * + * * @param socket * The socket to close * @see Socket#close() @@ -124,7 +124,7 @@ public class Closer { /** * Closes the given input stream. - * + * * @param inputStream * The input stream to close * @see InputStream#close() @@ -140,7 +140,7 @@ public class Closer { /** * Closes the given output stream. - * + * * @param outputStream * The output stream to close * @see OutputStream#close() @@ -156,7 +156,7 @@ public class Closer { /** * Closes the given reader. - * + * * @param reader * The reader to close * @see Reader#close() @@ -172,7 +172,7 @@ public class Closer { /** * Closes the given writer. - * + * * @param writer * The write to close * @see Writer#close()