You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2013/04/04 12:32:42 UTC
svn commit: r1464423 - in
/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http:
client/utils/URLEncodedUtils.java impl/cookie/RFC2965Spec.java
Author: olegk
Date: Thu Apr 4 10:32:42 2013
New Revision: 1464423
URL: http://svn.apache.org/r1464423
Log:
Javadoc fixes
Modified:
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java?rev=1464423&r1=1464422&r2=1464423&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java Thu Apr 4 10:32:42 2013
@@ -363,14 +363,6 @@ public class URLEncodedUtils {
private static final int RADIX = 16;
- /**
- * Emcode/escape a portion of a URL, to use with the query part ensure {@code plusAsBlank} is true.
- *
- * @param content the portion to decode
- * @param charset the charset to use
- * @param blankAsPlus if {@code true}, then convert space to '+' (e.g. for www-url-form-encoded content), otherwise leave as is.
- * @return
- */
private static String urlencode(
final String content,
final Charset charset,
@@ -404,7 +396,7 @@ public class URLEncodedUtils {
* @param content the portion to decode
* @param charset the charset to use
* @param plusAsBlank if {@code true}, then convert '+' to space (e.g. for www-url-form-encoded content), otherwise leave as is.
- * @return
+ * @return encoded string
*/
private static String urldecode(
final String content,
@@ -444,7 +436,7 @@ public class URLEncodedUtils {
*
* @param content the content to decode, will decode '+' as space
* @param charset the charset to use
- * @return
+ * @return encoded string
*/
private static String decodeFormFields (final String content, final String charset) {
if (content == null) {
@@ -458,7 +450,7 @@ public class URLEncodedUtils {
*
* @param content the content to decode, will decode '+' as space
* @param charset the charset to use
- * @return
+ * @return encoded string
*/
private static String decodeFormFields (final String content, final Charset charset) {
if (content == null) {
@@ -476,7 +468,7 @@ public class URLEncodedUtils {
*
* @param content the content to encode, will convert space to '+'
* @param charset the charset to use
- * @return
+ * @return encoded string
*/
private static String encodeFormFields (final String content, final String charset) {
if (content == null) {
@@ -495,7 +487,7 @@ public class URLEncodedUtils {
*
* @param content the content to encode, will convert space to '+'
* @param charset the charset to use
- * @return
+ * @return encoded string
*/
private static String encodeFormFields (final String content, final Charset charset) {
if (content == null) {
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java?rev=1464423&r1=1464422&r2=1464423&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java Thu Apr 4 10:32:42 2013
@@ -193,7 +193,6 @@ public class RFC2965Spec extends RFC2109
* that all effective host names contain at least one dot.
*
* @param origin origin where cookie is received from or being sent to.
- * @return
*/
private static CookieOrigin adjustEffectiveHost(final CookieOrigin origin) {
String host = origin.getHost();