]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove unused torToCloseStream method
authorLeif Åstrand <leif@vaadin.com>
Wed, 9 Nov 2011 09:09:45 +0000 (11:09 +0200)
committerLeif Åstrand <leif@vaadin.com>
Wed, 9 Nov 2011 09:09:45 +0000 (11:09 +0200)
src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java

index e4839df1d3228586664a2237c56b952cc3fdaa12..f40d56bf05b76d247689c8c54c9d50ee6e19c735 100644 (file)
@@ -471,17 +471,6 @@ public abstract class AbstractCommunicationManager implements
         }
     }
 
-    static void tryToCloseStream(InputStream in) {
-        try {
-            // try to close output stream (e.g. file handle)
-            if (in != null) {
-                in.close();
-            }
-        } catch (IOException e1) {
-            // NOP
-        }
-    }
-
     /**
      * Removes any possible path information from the filename and returns the
      * filename. Separators / and \\ are used.