[Pixelle-commit] SF.net SVN: pixelle: [146] trunk/pixelle/src/com/mebigfatguy/pixelle/utils/ Closer
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-07-06 21:18:35
|
Revision: 146
http://pixelle.svn.sourceforge.net/pixelle/?rev=146&view=rev
Author: dbrosius
Date: 2008-07-06 14:18:35 -0700 (Sun, 06 Jul 2008)
Log Message:
-----------
close methods s/b static
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/utils/Closer.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/utils/Closer.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/utils/Closer.java 2008-07-06 21:17:18 UTC (rev 145)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/utils/Closer.java 2008-07-06 21:18:35 UTC (rev 146)
@@ -28,7 +28,7 @@
private Closer() {
}
- public void close(InputStream is) {
+ public static void close(InputStream is) {
try {
if (is != null) {
is.close();
@@ -37,7 +37,7 @@
}
}
- public void close(OutputStream os) {
+ public static void close(OutputStream os) {
try {
if (os != null) {
os.close();
@@ -46,7 +46,7 @@
}
}
- public void close(Reader r) {
+ public static void close(Reader r) {
try {
if (r != null) {
r.close();
@@ -55,7 +55,7 @@
}
}
- public void close(Writer w) {
+ public static void close(Writer w) {
try {
if (w != null) {
w.close();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|