From 2006e90abc24926ae606e1a50b27f06df2226173 Mon Sep 17 00:00:00 2001 From: Andrey Loskutov Date: Tue, 19 Jan 2016 14:27:41 +0100 Subject: [PATCH] Annotated to be removed Tree API with @noreference and @noextend See https://wiki.eclipse.org/Eclipse/API_Central/API_Removal_Process. Bug: 486105 Change-Id: I460e43da0d487279608729a2081c614e7065f56f Signed-off-by: Andrey Loskutov --- org.eclipse.jgit/src/org/eclipse/jgit/lib/FileTreeEntry.java | 2 ++ org.eclipse.jgit/src/org/eclipse/jgit/lib/GitlinkTreeEntry.java | 2 ++ org.eclipse.jgit/src/org/eclipse/jgit/lib/SymlinkTreeEntry.java | 2 ++ org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java | 2 ++ org.eclipse.jgit/src/org/eclipse/jgit/lib/TreeEntry.java | 2 ++ 5 files changed, 10 insertions(+) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/FileTreeEntry.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/FileTreeEntry.java index 6811417ee..9c689440b 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/FileTreeEntry.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/FileTreeEntry.java @@ -54,6 +54,8 @@ import java.io.IOException; * To lookup information about multiple paths at once, use a * {@link org.eclipse.jgit.treewalk.TreeWalk} and obtain the current entry's * information from its getter methods. + * @noreference This class is not intended to be referenced by clients. + * @noextend This class is not intended to be subclassed by clients. */ @Deprecated public class FileTreeEntry extends TreeEntry { diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/GitlinkTreeEntry.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/GitlinkTreeEntry.java index 936fd82bf..f42f7a221 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/GitlinkTreeEntry.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/GitlinkTreeEntry.java @@ -55,6 +55,8 @@ package org.eclipse.jgit.lib; * To lookup information about multiple paths at once, use a * {@link org.eclipse.jgit.treewalk.TreeWalk} and obtain the current entry's * information from its getter methods. + * @noreference This class is not intended to be referenced by clients. + * @noextend This class is not intended to be subclassed by clients. */ @Deprecated public class GitlinkTreeEntry extends TreeEntry { diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/SymlinkTreeEntry.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/SymlinkTreeEntry.java index c7e41bce0..5ff83260d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/SymlinkTreeEntry.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/SymlinkTreeEntry.java @@ -54,6 +54,8 @@ package org.eclipse.jgit.lib; * To lookup information about multiple paths at once, use a * {@link org.eclipse.jgit.treewalk.TreeWalk} and obtain the current entry's * information from its getter methods. + * @noreference This class is not intended to be referenced by clients. + * @noextend This class is not intended to be subclassed by clients. */ @Deprecated public class SymlinkTreeEntry extends TreeEntry { diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java index 43bd489dc..94d14401d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Tree.java @@ -63,6 +63,8 @@ import org.eclipse.jgit.util.RawParseUtils; * To lookup information about multiple paths at once, use a * {@link org.eclipse.jgit.treewalk.TreeWalk} and obtain the current entry's * information from its getter methods. + * @noreference This class is not intended to be referenced by clients. + * @noextend This class is not intended to be subclassed by clients. */ @Deprecated public class Tree extends TreeEntry { diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/TreeEntry.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/TreeEntry.java index a1ffa6805..83be44cf3 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/TreeEntry.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/TreeEntry.java @@ -56,6 +56,8 @@ import org.eclipse.jgit.util.RawParseUtils; * To lookup information about multiple paths at once, use a * {@link org.eclipse.jgit.treewalk.TreeWalk} and obtain the current entry's * information from its getter methods. + * @noreference This class is not intended to be referenced by clients. + * @noextend This class is not intended to be subclassed by clients. */ @Deprecated public abstract class TreeEntry implements Comparable {