remove redundant public modifier in interfaces
diff --git a/src/main/org/apache/ant/compress/util/ArchiveStreamFactory.java b/src/main/org/apache/ant/compress/util/ArchiveStreamFactory.java
index 0097dec..5224832 100644
--- a/src/main/org/apache/ant/compress/util/ArchiveStreamFactory.java
+++ b/src/main/org/apache/ant/compress/util/ArchiveStreamFactory.java
@@ -35,8 +35,7 @@
* @param encoding the encoding of the entry names, ignored by all
* formats except arj, cpio, dump, tar and zip
*/
- public ArchiveInputStream getArchiveStream(InputStream stream,
- String encoding)
+ ArchiveInputStream getArchiveStream(InputStream stream, String encoding)
throws IOException;
@@ -45,8 +44,7 @@
* @param encoding the encoding of the entry names, ignored by all
* formats except cpio, tar and zip
*/
- public ArchiveOutputStream getArchiveStream(OutputStream stream,
- String encoding)
+ ArchiveOutputStream getArchiveStream(OutputStream stream, String encoding)
throws IOException;
}
diff --git a/src/main/org/apache/ant/compress/util/CompressorStreamFactory.java b/src/main/org/apache/ant/compress/util/CompressorStreamFactory.java
index 4385882..ac2ce3b 100644
--- a/src/main/org/apache/ant/compress/util/CompressorStreamFactory.java
+++ b/src/main/org/apache/ant/compress/util/CompressorStreamFactory.java
@@ -33,14 +33,14 @@
/**
* @param stream the stream to read from, should be buffered
*/
- public CompressorInputStream getCompressorStream(InputStream stream)
+ CompressorInputStream getCompressorStream(InputStream stream)
throws IOException;
/**
* @param stream the stream to write to, should be buffered
*/
- public CompressorOutputStream getCompressorStream(OutputStream stream)
+ CompressorOutputStream getCompressorStream(OutputStream stream)
throws IOException;
-}
\ No newline at end of file
+}
diff --git a/src/main/org/apache/ant/compress/util/CompressorWithConcatenatedStreamsFactory.java b/src/main/org/apache/ant/compress/util/CompressorWithConcatenatedStreamsFactory.java
index 409c85a..91e4ea2 100644
--- a/src/main/org/apache/ant/compress/util/CompressorWithConcatenatedStreamsFactory.java
+++ b/src/main/org/apache/ant/compress/util/CompressorWithConcatenatedStreamsFactory.java
@@ -38,7 +38,7 @@
* input; if false, stop after the first
* stream
*/
- public CompressorInputStream getCompressorStream(InputStream stream,
- boolean decompressConcatenated)
+ CompressorInputStream getCompressorStream(InputStream stream,
+ boolean decompressConcatenated)
throws IOException;
-}
\ No newline at end of file
+}