hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject httpcomponents-core git commit: Better Javadoc for NameValuePair.
Date Tue, 12 Dec 2017 16:19:10 GMT
Repository: httpcomponents-core
Updated Branches:
  refs/heads/4.4.x cb269cd17 -> cc248e7e2


Better Javadoc for NameValuePair.

Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/cc248e7e
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/cc248e7e
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/cc248e7e

Branch: refs/heads/4.4.x
Commit: cc248e7e22df05dd0d040d802f207fa11de2f297
Parents: cb269cd
Author: Gary Gregory <ggregory@apache.org>
Authored: Tue Dec 12 09:19:07 2017 -0700
Committer: Gary Gregory <ggregory@apache.org>
Committed: Tue Dec 12 09:19:07 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/http/NameValuePair.java | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/cc248e7e/httpcore/src/main/java/org/apache/http/NameValuePair.java
----------------------------------------------------------------------
diff --git a/httpcore/src/main/java/org/apache/http/NameValuePair.java b/httpcore/src/main/java/org/apache/http/NameValuePair.java
index faf4e6f..5df06bb 100644
--- a/httpcore/src/main/java/org/apache/http/NameValuePair.java
+++ b/httpcore/src/main/java/org/apache/http/NameValuePair.java
@@ -34,14 +34,23 @@ package org.apache.http;
  * attribute               = token
  * value                   = token | quoted-string
  * </pre>
- *
- *
+ * 
  * @since 4.0
  */
 public interface NameValuePair {
 
+    /**
+     * Gets the name of this pair.
+     *
+     * @return the name of this pair, never {@code null}.
+     */
     String getName();
 
+    /**
+     * Gets the value of this pair.
+     *
+     * @return the value of this pair, may be {@code null}.
+     */
     String getValue();
 
-}
+}
\ No newline at end of file


Mime
View raw message