summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2023-08-02 00:19:02 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2023-08-02 00:19:02 +0200
commit24b6a35d30e76317c043f27c6159e57c39b303d8 (patch)
treefed1f9bb666082d7723730510c182230e91ee31c
parentd96a91e77ef8a8cb007c8b84fddf07df78598076 (diff)
downloadjgit-24b6a35d30e76317c043f27c6159e57c39b303d8.tar.gz
jgit-24b6a35d30e76317c043f27c6159e57c39b303d8.zip
Add missing @since tags
This was missed in c353645a09b6 Change-Id: I4ae5b13bd7bfd09c113d91ece727a26706660826
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/revwalk/FooterLine.java4
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java3
2 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/FooterLine.java b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/FooterLine.java
index eeaccc6d33..2d396d57c5 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/FooterLine.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/FooterLine.java
@@ -56,6 +56,7 @@ public final class FooterLine {
* the message to extract footers from.
* @return ordered list of footer lines; empty list if no footers found.
* @see RevCommit#getFooterLines()
+ * @since 6.7
*/
public static List<FooterLine> fromMessage(
String str) {
@@ -69,6 +70,7 @@ public final class FooterLine {
* the raw message to extract footers from.
* @return ordered list of footer lines; empty list if no footers found.
* @see RevCommit#getFooterLines()
+ * @since 6.7
*/
public static List<FooterLine> fromMessage(
byte[] raw) {
@@ -122,6 +124,7 @@ public final class FooterLine {
* footer appeared more than once. Empty list if no footers appear
* with the specified key, or there are no footers at all.
* @see #fromMessage
+ * @since 6.7
*/
public static List<String> getValues(List<FooterLine> footers, String keyName) {
return getValues(footers, new FooterKey(keyName));
@@ -139,6 +142,7 @@ public final class FooterLine {
* footer appeared more than once. Empty list if no footers appear
* with the specified key, or there are no footers at all.
* @see #fromMessage
+ * @since 6.7
*/
public static List<String> getValues(List<FooterLine> footers, FooterKey key) {
if (footers.isEmpty())
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java
index 1c98336b99..00e55f5bb3 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java
@@ -875,8 +875,9 @@ public final class RawParseUtils {
* @param buffer
* buffer to scan.
* @return the Java character set representation. Never null. Default to
- * UTF-8.
+ * UTF-8.
* @see #parseEncoding(byte[])
+ * @since 6.7
*/
public static Charset guessEncoding(byte[] buffer) {
try {