aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2023-09-16 22:14:49 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2023-09-25 22:06:13 +0200
commit84ced89dc3d3163535cb170f4a6da49b60a51c3f (patch)
tree036d51e581ce2be3b7d3390fe620c149be171af4 /org.eclipse.jgit/src/org/eclipse/jgit/internal/transport
parentd56ae55c836968e09d1ad887d4180ff6bccc5be7 (diff)
downloadjgit-84ced89dc3d3163535cb170f4a6da49b60a51c3f.tar.gz
jgit-84ced89dc3d3163535cb170f4a6da49b60a51c3f.zip
[errorprone] Add missing javadoc summary
see https://google.github.io/styleguide/javaguide.html#s7.2-summary-fragment Change-Id: Iaf4a6b55d4e4c59b7a2da3451164abb1bb47d4a1
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/internal/transport')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/http/NetscapeCookieFileCache.java4
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/parser/FirstCommand.java12
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/parser/FirstWant.java20
3 files changed, 31 insertions, 5 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/http/NetscapeCookieFileCache.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/http/NetscapeCookieFileCache.java
index 69a8273158..930bcea75b 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/http/NetscapeCookieFileCache.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/http/NetscapeCookieFileCache.java
@@ -39,6 +39,8 @@ public class NetscapeCookieFileCache {
}
/**
+ * Get singleton instance
+ *
* @param config
* the config which defines the limit for this cache
* @return the singleton instance of the cookie file cache. If the cache has
@@ -54,6 +56,8 @@ public class NetscapeCookieFileCache {
}
/**
+ * Get a cache entry
+ *
* @param path
* the path of the cookie file to retrieve
* @return the cache entry belonging to the requested file
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/parser/FirstCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/parser/FirstCommand.java
index c75cf5d618..a196fbe418 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/parser/FirstCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/parser/FirstCommand.java
@@ -69,13 +69,21 @@ public final class FirstCommand {
this.capabilities = capabilities;
}
- /** @return non-capabilities part of the line. */
+ /**
+ * Get line
+ *
+ * @return non-capabilities part of the line.
+ */
@NonNull
public String getLine() {
return line;
}
- /** @return capabilities parsed from the line, as an immutable map. */
+ /**
+ * Get capabilities
+ *
+ * @return capabilities parsed from the line, as an immutable map.
+ */
@NonNull
public Map<String, String> getCapabilities() {
return capabilities;
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/parser/FirstWant.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/parser/FirstWant.java
index 30d629665f..e214cdae8b 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/parser/FirstWant.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/parser/FirstWant.java
@@ -102,12 +102,18 @@ public class FirstWant {
this.clientSID = clientSID;
}
- /** @return non-capabilities part of the line. */
+ /**
+ * Get line
+ *
+ * @return non-capabilities part of the line.
+ */
public String getLine() {
return line;
}
/**
+ * Get capabilities
+ *
* @return capabilities parsed from the line as an immutable set (excluding
* agent and session-id).
*/
@@ -115,13 +121,21 @@ public class FirstWant {
return capabilities;
}
- /** @return client user agent parsed from the line. */
+ /**
+ * Get agent
+ *
+ * @return client user agent parsed from the line.
+ */
@Nullable
public String getAgent() {
return agent;
}
- /** @return client session-id parsed from the line. */
+ /**
+ * Get client session-id
+ *
+ * @return client session-id parsed from the line.
+ */
@Nullable
public String getClientSID() {
return clientSID;