diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-08-30 17:37:48 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-09-03 16:11:03 +0200 |
commit | 7162722e9c2d373d64f8db4160be26ec440bbeb6 (patch) | |
tree | 2a0a401d9c1cceb84847716c7241da006f20e328 /org.eclipse.jgit/src/org/eclipse | |
parent | 925f0d14df661046a257c5035351b17106165765 (diff) | |
download | jgit-7162722e9c2d373d64f8db4160be26ec440bbeb6.tar.gz jgit-7162722e9c2d373d64f8db4160be26ec440bbeb6.zip |
Remove deprecated TagBuilder#toByteArray method
Change-Id: I14e78bcd4bbdb491bcc44a53ff19609b79c0831b
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/TagBuilder.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/TagBuilder.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/TagBuilder.java index bbc614448f..ea73d95102 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/TagBuilder.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/TagBuilder.java @@ -206,23 +206,6 @@ public class TagBuilder extends ObjectBuilder { return os.toByteArray(); } - /** - * Format this builder's state as an annotated tag object. - * - * @return this object in the canonical annotated tag format, suitable for - * storage in a repository, or {@code null} if the tag cannot be - * encoded - * @deprecated since 5.11; use {@link #build()} instead - */ - @Deprecated - public byte[] toByteArray() { - try { - return build(); - } catch (UnsupportedEncodingException e) { - return null; - } - } - @SuppressWarnings("nls") @Override public String toString() { |