diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-08-30 17:49:12 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-09-03 16:11:03 +0200 |
commit | 7b65a847219308beaf5b4542e45ab2927ff0e4f8 (patch) | |
tree | 3fbf3e129eeca822c3759253de6ae060cce73a04 | |
parent | fc76f226c3aa8e55683f95b56e24d47e91ce0e47 (diff) | |
download | jgit-7b65a847219308beaf5b4542e45ab2927ff0e4f8.tar.gz jgit-7b65a847219308beaf5b4542e45ab2927ff0e4f8.zip |
PacketLineIn: make deprecated #END and #DELIM private
Change-Id: I1b7ba9f7e3dffe54313fc5d27051ad56a02a05b9
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/PacketLineIn.java | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PacketLineIn.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PacketLineIn.java index ed33eaed07..614ad88246 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PacketLineIn.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PacketLineIn.java @@ -43,24 +43,13 @@ public class PacketLineIn { /** * Magic return from {@link #readString()} when a flush packet is found. - * - * @deprecated Callers should use {@link #isEnd(String)} to check if a - * string is the end marker, or - * {@link PacketLineIn#readStrings()} to iterate over all - * strings in the input stream until the marker is reached. */ - @Deprecated - public static final String END = new String(); /* must not string pool */ + private static final String END = new String(); /* must not string pool */ /** * Magic return from {@link #readString()} when a delim packet is found. - * - * @since 5.0 - * @deprecated Callers should use {@link #isDelimiter(String)} to check if a - * string is the delimiter. */ - @Deprecated - public static final String DELIM = new String(); /* must not string pool */ + private static final String DELIM = new String(); /* must not string pool */ enum AckNackResult { /** NAK */ |