aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.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/TarFormat.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/TarFormat.java')
-rw-r--r--org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java
index 900f024bfc..c7e2583adb 100644
--- a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java
+++ b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java
@@ -68,6 +68,7 @@ public final class TarFormat extends BaseFormat implements
private static final List<String> SUFFIXES = Collections
.unmodifiableList(Arrays.asList(".tar")); //$NON-NLS-1$
+ @Override
public ArchiveOutputStream createArchiveOutputStream(OutputStream s)
throws IOException {
return createArchiveOutputStream(s,
@@ -77,6 +78,7 @@ public final class TarFormat extends BaseFormat implements
/**
* @since 4.0
*/
+ @Override
public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException {
TarArchiveOutputStream out = new TarArchiveOutputStream(s, "UTF-8"); //$NON-NLS-1$
@@ -140,6 +142,7 @@ public final class TarFormat extends BaseFormat implements
out.closeArchiveEntry();
}
+ @Override
public Iterable<String> suffixes() {
return SUFFIXES;
}