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>
stable-4.0
Matthias Sohn 10 years ago
parent
commit
994b39a007
  1. 2
      org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/BaseFormat.java
  2. 3
      org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java
  3. 3
      org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/Tbz2Format.java
  4. 3
      org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java
  5. 3
      org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TxzFormat.java
  6. 3
      org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java

2
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/BaseFormat.java

@ -52,6 +52,8 @@ import org.eclipse.jgit.util.StringUtils;
/** /**
* Base format class * Base format class
*
* @since 4.0
*/ */
public class BaseFormat { public class BaseFormat {

3
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java

@ -73,6 +73,9 @@ public final class TarFormat extends BaseFormat implements
Collections.<String, Object> emptyMap()); Collections.<String, Object> emptyMap());
} }
/**
* @since 4.0
*/
public ArchiveOutputStream createArchiveOutputStream(OutputStream s, public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException { Map<String, Object> o) throws IOException {
TarArchiveOutputStream out = new TarArchiveOutputStream(s, "UTF-8"); //$NON-NLS-1$ TarArchiveOutputStream out = new TarArchiveOutputStream(s, "UTF-8"); //$NON-NLS-1$

3
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/Tbz2Format.java

@ -71,6 +71,9 @@ public final class Tbz2Format extends BaseFormat implements
Collections.<String, Object> emptyMap()); Collections.<String, Object> emptyMap());
} }
/**
* @since 4.0
*/
public ArchiveOutputStream createArchiveOutputStream(OutputStream s, public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException { Map<String, Object> o) throws IOException {
BZip2CompressorOutputStream out = new BZip2CompressorOutputStream(s); BZip2CompressorOutputStream out = new BZip2CompressorOutputStream(s);

3
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java

@ -71,6 +71,9 @@ public final class TgzFormat extends BaseFormat implements
Collections.<String, Object> emptyMap()); Collections.<String, Object> emptyMap());
} }
/**
* @since 4.0
*/
public ArchiveOutputStream createArchiveOutputStream(OutputStream s, public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException { Map<String, Object> o) throws IOException {
GzipCompressorOutputStream out = new GzipCompressorOutputStream(s); GzipCompressorOutputStream out = new GzipCompressorOutputStream(s);

3
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TxzFormat.java

@ -71,6 +71,9 @@ public final class TxzFormat extends BaseFormat implements
Collections.<String, Object> emptyMap()); Collections.<String, Object> emptyMap());
} }
/**
* @since 4.0
*/
public ArchiveOutputStream createArchiveOutputStream(OutputStream s, public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException { Map<String, Object> o) throws IOException {
XZCompressorOutputStream out = new XZCompressorOutputStream(s); XZCompressorOutputStream out = new XZCompressorOutputStream(s);

3
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java

@ -72,6 +72,9 @@ public final class ZipFormat extends BaseFormat implements
Collections.<String, Object> emptyMap()); Collections.<String, Object> emptyMap());
} }
/**
* @since 4.0
*/
public ArchiveOutputStream createArchiveOutputStream(OutputStream s, public ArchiveOutputStream createArchiveOutputStream(OutputStream s,
Map<String, Object> o) throws IOException { Map<String, Object> o) throws IOException {
return applyFormatOptions(new ZipArchiveOutputStream(s), o); return applyFormatOptions(new ZipArchiveOutputStream(s), o);

Loading…
Cancel
Save