aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2017-02-18 10:48:58 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2017-02-18 10:48:58 +0100
commit30628e3b86386a7f53d7c9b14d9209ee45cdb1bb (patch)
treeb851498b21cd59e9d89fdc1e8d24d6483e24e4ad /org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java
parent1448ec37f9141d16da28151289e3d590c89fc739 (diff)
downloadjgit-30628e3b86386a7f53d7c9b14d9209ee45cdb1bb.tar.gz
jgit-30628e3b86386a7f53d7c9b14d9209ee45cdb1bb.zip
Add missing @Override annotations in org.eclipse.jgit.archive
Change-Id: I51e37ca7643da6abadbd36e9187ccb58fe713833 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java')
-rw-r--r--org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java
index b6bf3ff665..a6d053e281 100644
--- a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java
+++ b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java
@@ -66,6 +66,7 @@ public final class TgzFormat extends BaseFormat implements
private final ArchiveCommand.Format<ArchiveOutputStream> tarFormat = new TarFormat();
+ @Override
public ArchiveOutputStream createArchiveOutputStream(OutputStream s)
throws IOException {
return createArchiveOutputStream(s,
@@ -75,6 +76,7 @@ public final class TgzFormat extends BaseFormat implements
/**
* @since 4.0
*/
+ @Override
public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException {
GzipCompressorOutputStream out = new GzipCompressorOutputStream(s);
@@ -99,6 +101,7 @@ public final class TgzFormat extends BaseFormat implements
tarFormat.putEntry(out, tree, path, mode, loader);
}
+ @Override
public Iterable<String> suffixes() {
return SUFFIXES;
}