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 2016/12/17 14:35:13 UTC
svn commit: r1774762 - in /httpcomponents/httpcore/trunk:
httpcore5-testing/src/main/java/org/apache/hc/core5/testing/framework/
httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/http/
httpcore5/src/main/java/org/apache/hc/core5/http/mess...
Author: olegk
Date: Sat Dec 17 14:35:13 2016
New Revision: 1774762
URL: http://svn.apache.org/viewvc?rev=1774762&view=rev
Log:
Javadoc cleanups
Modified:
httpcomponents/httpcore/trunk/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/framework/ClientTestingAdapter.java
httpcomponents/httpcore/trunk/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/http/InternalServerHttp1EventHandlerFactory.java
httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/LazyLaxLineParser.java
Modified: httpcomponents/httpcore/trunk/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/framework/ClientTestingAdapter.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/framework/ClientTestingAdapter.java?rev=1774762&r1=1774761&r2=1774762&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/framework/ClientTestingAdapter.java (original)
+++ httpcomponents/httpcore/trunk/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/framework/ClientTestingAdapter.java Sat Dec 17 14:35:13 2016
@@ -106,9 +106,6 @@ import java.util.Map; public class Clien
/**
* See the documentation for the same method in {@link ClientPOJOAdapter}.
- *
- * @param request
- * @return
*/
public boolean isRequestSupported(final Map<String, Object> request) {
return (adapter == null) ? true : adapter.checkRequestSupport(request) == null;
@@ -116,9 +113,6 @@ import java.util.Map; public class Clien
/**
* See the documentation for the same method in {@link ClientPOJOAdapter}.
- *
- * @param request
- * @return
*/
public Map<String, Object> modifyRequest(final Map<String, Object> request) {
return (adapter == null) ? request : adapter.modifyRequest(request);
Modified: httpcomponents/httpcore/trunk/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/http/InternalServerHttp1EventHandlerFactory.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/http/InternalServerHttp1EventHandlerFactory.java?rev=1774762&r1=1774761&r2=1774762&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/http/InternalServerHttp1EventHandlerFactory.java (original)
+++ httpcomponents/httpcore/trunk/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/http/InternalServerHttp1EventHandlerFactory.java Sat Dec 17 14:35:13 2016
@@ -68,11 +68,10 @@ import org.apache.hc.core5.util.Args;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
-@Contract(threading = ThreadingBehavior.IMMUTABLE)
-
/**
* @since 5.0
*/
+@Contract(threading = ThreadingBehavior.IMMUTABLE)
class InternalServerHttp1EventHandlerFactory implements IOEventHandlerFactory {
private static final AtomicLong COUNT = new AtomicLong();
Modified: httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/LazyLaxLineParser.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/LazyLaxLineParser.java?rev=1774762&r1=1774761&r2=1774762&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/LazyLaxLineParser.java (original)
+++ httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/http/message/LazyLaxLineParser.java Sat Dec 17 14:35:13 2016
@@ -35,8 +35,7 @@ import org.apache.hc.core5.util.CharArra
/**
* Extension of {@link org.apache.hc.core5.http.message.BasicLineParser} that defers parsing of
* header values. Header value is parsed only if accessed with
- * {@link org.apache.hc.core5.http.Header#getValue()} or {@link org.apache.hc.core5.http.Header#getElements()}
- * methods.
+ * {@link org.apache.hc.core5.http.Header#getValue()}.
* <p>
* This parser unlike {@link BasicLineParser} and {@link LazyLineParser}
* will not reject headers containing whitespaces between the header field