You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2017/05/14 20:42:42 UTC
[10/12] ant-antlibs-compress git commit: remove redundant public
modifier in interfaces
remove redundant public modifier in interfaces
Project: http://git-wip-us.apache.org/repos/asf/ant-antlibs-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-antlibs-compress/commit/bb057ad2
Tree: http://git-wip-us.apache.org/repos/asf/ant-antlibs-compress/tree/bb057ad2
Diff: http://git-wip-us.apache.org/repos/asf/ant-antlibs-compress/diff/bb057ad2
Branch: refs/heads/master
Commit: bb057ad20dc214974f0c09e8f76c0d39be9ff469
Parents: ae64912
Author: Stefan Bodewig <bo...@apache.org>
Authored: Mon May 8 19:00:26 2017 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Mon May 8 19:00:26 2017 +0200
----------------------------------------------------------------------
.../org/apache/ant/compress/util/ArchiveStreamFactory.java | 6 ++----
.../org/apache/ant/compress/util/CompressorStreamFactory.java | 6 +++---
.../util/CompressorWithConcatenatedStreamsFactory.java | 6 +++---
3 files changed, 8 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant-antlibs-compress/blob/bb057ad2/src/main/org/apache/ant/compress/util/ArchiveStreamFactory.java
----------------------------------------------------------------------
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 @@ public interface ArchiveStreamFactory {
* @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 @@ public interface ArchiveStreamFactory {
* @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;
}
http://git-wip-us.apache.org/repos/asf/ant-antlibs-compress/blob/bb057ad2/src/main/org/apache/ant/compress/util/CompressorStreamFactory.java
----------------------------------------------------------------------
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 @@ public interface CompressorStreamFactory {
/**
* @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
+}
http://git-wip-us.apache.org/repos/asf/ant-antlibs-compress/blob/bb057ad2/src/main/org/apache/ant/compress/util/CompressorWithConcatenatedStreamsFactory.java
----------------------------------------------------------------------
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 @@ public interface CompressorWithConcatenatedStreamsFactory
* 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
+}