Browse Source

Fix @since tags in JGit, version 2.4 never existed

Change-Id: Iaca88ec28b412e6b58e7b39a0762ba54b25f9471
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-3.0
Tomasz Zarna 12 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
48f30b8614
  1. 10
      org.eclipse.jgit.pgm/.settings/.api_filters
  2. 2
      org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java
  3. 4
      org.eclipse.jgit/src/org/eclipse/jgit/api/NameRevCommand.java
  4. 2
      org.eclipse.jgit/src/org/eclipse/jgit/errors/NoMergeBaseException.java
  5. 1
      org.eclipse.jgit/src/org/eclipse/jgit/errors/StoredObjectRepresentationNotAvailableException.java
  6. 6
      org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapIndex.java
  7. 6
      org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapObject.java
  8. 5
      org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
  9. 2
      org.eclipse.jgit/src/org/eclipse/jgit/lib/CoreConfig.java
  10. 2
      org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java
  11. 2
      org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryState.java
  12. 2
      org.eclipse.jgit/src/org/eclipse/jgit/merge/StrategyRecursive.java
  13. 2
      org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevFlag.java
  14. 1
      org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileRepositoryBuilder.java
  15. 3
      org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheConfig.java
  16. 5
      org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java
  17. 1
      org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackLogger.java
  18. 3
      org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java
  19. 1
      org.eclipse.jgit/src/org/eclipse/jgit/util/NB.java

10
org.eclipse.jgit.pgm/.settings/.api_filters

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.jgit.pgm" version="2">
<resource path="src/org/eclipse/jgit/pgm/CLIText.java" type="org.eclipse.jgit.pgm.CLIText">
<filter id="1143996420">
<message_arguments>
<message_argument value="noSuchRemoteRef"/>
</message_arguments>
</filter>
</resource>
</component>

2
org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java

@ -636,7 +636,7 @@ public class Git {
* Returns a command object to find human-readable names of revisions.
*
* @return a {@link NameRevCommand}.
* @since 2.3
* @since 3.0
*/
public NameRevCommand nameRev() {
return new NameRevCommand(repo);

4
org.eclipse.jgit/src/org/eclipse/jgit/api/NameRevCommand.java

@ -68,8 +68,10 @@ import org.eclipse.jgit.revwalk.RevWalk;
/**
* Command to find human-readable names of revisions.
*
* @see <a href="http://www.kernel.org/pub/software/scm/git/docs/git-name-rev.html"
* @see <a
* href="http://www.kernel.org/pub/software/scm/git/docs/git-name-rev.html"
* >Git documentation about name-rev</a>
* @since 3.0
*/
public class NameRevCommand extends GitCommand<Map<ObjectId, String>> {
/** Amount of slop to allow walking past the earliest requested commit. */

2
org.eclipse.jgit/src/org/eclipse/jgit/errors/NoMergeBaseException.java

@ -51,6 +51,8 @@ import org.eclipse.jgit.merge.RecursiveMerger;
/**
* Exception thrown if a merge fails because no merge base could be determined.
*
* @since 3.0
*/
public class NoMergeBaseException extends IOException {
private static final long serialVersionUID = 1L;

1
org.eclipse.jgit/src/org/eclipse/jgit/errors/StoredObjectRepresentationNotAvailableException.java

@ -54,6 +54,7 @@ public class StoredObjectRepresentationNotAvailableException extends Exception {
*
* @param otp
* the object whose current representation is no longer present.
* @since 3.0
*/
public StoredObjectRepresentationNotAvailableException(ObjectToPack otp) {
// Do nothing.

6
org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapIndex.java

@ -47,7 +47,11 @@ import java.util.Iterator;
import org.eclipse.jgit.internal.storage.file.PackBitmapIndex;
/** A compressed bitmap representation of the entire object graph. */
/**
* A compressed bitmap representation of the entire object graph.
*
* @since 3.0
*/
public interface BitmapIndex {
/**
* Get the bitmap for the id. The returned bitmap is immutable and the

6
org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapObject.java

@ -43,7 +43,11 @@
package org.eclipse.jgit.lib;
/** Base object type accessed during bitmap expansion. */
/**
* Base object type accessed during bitmap expansion.
*
* @since 3.0
*/
public abstract class BitmapObject {
/**
* Get Git object type. See {@link Constants}.

5
org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java

@ -196,6 +196,9 @@ public class ConfigConstants {
/** The "ff" key */
public static final String CONFIG_KEY_FF = "ff";
/** The "checkstat" key */
/**
* The "checkstat" key
* @since 3.0
*/
public static final String CONFIG_KEY_CHECKSTAT = "checkstat";
}

2
org.eclipse.jgit/src/org/eclipse/jgit/lib/CoreConfig.java

@ -77,7 +77,7 @@ public class CoreConfig {
/**
* Permissible values for {@code core.checkstat}
*
* @since 2.3
* @since 3.0
*/
public static enum CheckStat {
/**

2
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java

@ -444,6 +444,7 @@ public abstract class ObjectReader {
*
* @param avoid
* true to avoid unreachable objects.
* @since 3.0
*/
public void setAvoidUnreachableObjects(boolean avoid) {
// Do nothing by default.
@ -455,6 +456,7 @@ public abstract class ObjectReader {
* @return the index or null if one does not exist.
* @throws IOException
* when the index fails to load
* @since 3.0
*/
public BitmapIndex getBitmapIndex() throws IOException {
return null;

2
org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryState.java

@ -400,7 +400,7 @@ public enum RepositoryState {
/**
* @return true if the repository is currently in a rebase
* @since 2.4
* @since 3.0
*/
public abstract boolean isRebasing();

2
org.eclipse.jgit/src/org/eclipse/jgit/merge/StrategyRecursive.java

@ -47,6 +47,8 @@ import org.eclipse.jgit.lib.Repository;
/**
* A three-way merge strategy performing a content-merge if necessary
*
* @since 3.0
*/
public class StrategyRecursive extends StrategyResolve {

2
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevFlag.java

@ -73,6 +73,8 @@ public class RevFlag {
* queue, especially if we reached it by more than one path.
* <p>
* This is a static flag. Its RevWalk is not available.
*
* @since 3.0
*/
public static final RevFlag SEEN = new StaticRevFlag("SEEN", RevWalk.SEEN);

1
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileRepositoryBuilder.java

@ -85,6 +85,7 @@ public class FileRepositoryBuilder extends
* @throws IOException
* the repository could not be accessed to configure the rest of
* the builder's parameters.
* @since 3.0
*/
@Override
public Repository build() throws IOException {

3
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheConfig.java

@ -189,6 +189,7 @@ public class WindowCacheConfig {
* @param rc
* configuration to read properties from.
* @return {@code this}.
* @since 3.0
*/
public WindowCacheConfig fromConfig(final Config rc) {
setPackedGitOpenFiles(rc.getInt(
@ -217,6 +218,8 @@ public class WindowCacheConfig {
* The new configuration is applied immediately. If the new limits are
* smaller than what what is currently cached, older entries will be purged
* as soon as possible to allow the cache to meet the new limit.
*
* @since 3.0
*/
public void install() {
WindowCache.reconfigure(this);

5
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java

@ -53,7 +53,7 @@ import org.eclipse.jgit.lib.Repository;
/**
* Configuration used by a pack writer when constructing the stream.
*
*
* A configuration may be modified once created, but should not be modified
* while it is being used by a PackWriter. If a configuration is not modified it
* is safe to share the same configuration instance between multiple concurrent
@ -134,6 +134,7 @@ public class PackConfig {
* Default value of the build bitmaps option: {@value}
*
* @see #setBuildBitmaps(boolean)
* @since 3.0
*/
public static final boolean DEFAULT_BUILD_BITMAPS = true;
@ -631,6 +632,7 @@ public class PackConfig {
*
* @return true if delta base is the writer can choose to output an index
* with bitmaps.
* @since 3.0
*/
public boolean isBuildBitmaps() {
return buildBitmaps;
@ -646,6 +648,7 @@ public class PackConfig {
* @param buildBitmaps
* boolean indicating whether bitmaps may be included in the
* index.
* @since 3.0
*/
public void setBuildBitmaps(boolean buildBitmaps) {
this.buildBitmaps = buildBitmaps;

1
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackLogger.java

@ -66,6 +66,7 @@ public interface UploadPackLogger {
*
* @param stats
* the statistics after sending a pack to the client.
* @since 3.0
*/
public void onPackStatistics(PackWriter.Statistics stats);
}

3
org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java

@ -87,7 +87,7 @@ public class FileUtils {
* Option to only delete empty directories. This option can be combined with
* {@link #RECURSIVE}
*
* @since 2.4
* @since 3.0
*/
public static final int EMPTY_DIRECTORIES_ONLY = 16;
@ -180,6 +180,7 @@ public class FileUtils {
* the new {@code File}
* @throws IOException
* if the rename has failed
* @since 3.0
*/
public static void rename(final File src, final File dst)
throws IOException {

1
org.eclipse.jgit/src/org/eclipse/jgit/util/NB.java

@ -112,6 +112,7 @@ public final class NB {
* position and the next 7 bytes after it (for a total of 8
* bytes) will be read.
* @return signed integer value that matches the 64 bits read.
* @since 3.0
*/
public static long decodeInt64(final byte[] intbuf, final int offset) {
long r = intbuf[offset] << 8;

Loading…
Cancel
Save