[jboss-svn-commits] JBoss Common SVN: r3247 - jzipfile/trunk/src/main/java/org/jboss/jzipfile.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Jun 12 20:59:22 EDT 2009


Author: david.lloyd at jboss.com
Date: 2009-06-12 20:59:21 -0400 (Fri, 12 Jun 2009)
New Revision: 3247

Removed:
   jzipfile/trunk/src/main/java/org/jboss/jzipfile/EmptyInputStream.java
Log:
Remove unused class

Deleted: jzipfile/trunk/src/main/java/org/jboss/jzipfile/EmptyInputStream.java
===================================================================
--- jzipfile/trunk/src/main/java/org/jboss/jzipfile/EmptyInputStream.java	2009-06-13 00:55:58 UTC (rev 3246)
+++ jzipfile/trunk/src/main/java/org/jboss/jzipfile/EmptyInputStream.java	2009-06-13 00:59:21 UTC (rev 3247)
@@ -1,49 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.jzipfile;
-
-import java.io.InputStream;
-import java.io.IOException;
-
-final class EmptyInputStream extends InputStream {
-    public static final InputStream INSTANCE = new EmptyInputStream();
-
-    private EmptyInputStream() {
-    }
-
-    public int read(final byte[] b) throws IOException {
-        return -1;
-    }
-
-    public int read(final byte[] b, final int off, final int len) throws IOException {
-        return -1;
-    }
-
-    public int read() throws IOException {
-        return -1;
-    }
-
-    public int available() throws IOException {
-        return 0;
-    }
-}




More information about the jboss-svn-commits mailing list