Browse Source

Add missing @since tags for new API methods in archive bundle

Change-Id: I891e2cf9ca89ae1948e9713a412d31ec66faac86
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v4.0.0.201503231230-m1
Matthias Sohn 9 years ago
parent
commit
994b39a007

+ 2
- 0
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/BaseFormat.java View File

@@ -52,6 +52,8 @@ import org.eclipse.jgit.util.StringUtils;

/**
* Base format class
*
* @since 4.0
*/
public class BaseFormat {


+ 3
- 0
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java View File

@@ -73,6 +73,9 @@ public final class TarFormat extends BaseFormat implements
Collections.<String, Object> emptyMap());
}

/**
* @since 4.0
*/
public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException {
TarArchiveOutputStream out = new TarArchiveOutputStream(s, "UTF-8"); //$NON-NLS-1$

+ 3
- 0
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/Tbz2Format.java View File

@@ -71,6 +71,9 @@ public final class Tbz2Format extends BaseFormat implements
Collections.<String, Object> emptyMap());
}

/**
* @since 4.0
*/
public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException {
BZip2CompressorOutputStream out = new BZip2CompressorOutputStream(s);

+ 3
- 0
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java View File

@@ -71,6 +71,9 @@ public final class TgzFormat extends BaseFormat implements
Collections.<String, Object> emptyMap());
}

/**
* @since 4.0
*/
public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException {
GzipCompressorOutputStream out = new GzipCompressorOutputStream(s);

+ 3
- 0
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TxzFormat.java View File

@@ -71,6 +71,9 @@ public final class TxzFormat extends BaseFormat implements
Collections.<String, Object> emptyMap());
}

/**
* @since 4.0
*/
public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException {
XZCompressorOutputStream out = new XZCompressorOutputStream(s);

+ 3
- 0
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java View File

@@ -72,6 +72,9 @@ public final class ZipFormat extends BaseFormat implements
Collections.<String, Object> emptyMap());
}

/**
* @since 4.0
*/
public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException {
return applyFormatOptions(new ZipArchiveOutputStream(s), o);

Loading…
Cancel
Save