You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2014/08/21 16:45:31 UTC
svn commit: r1619417 - in
/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http: ./
annotation/ message/ protocol/ util/
Author: ggregory
Date: Thu Aug 21 14:45:31 2014
New Revision: 1619417
URL: http://svn.apache.org/r1619417
Log:
Javadoc 8 fixes.
Modified:
httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolVersion.java
httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/package-info.java
httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicTokenIterator.java
httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/LineFormatter.java
httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java
httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/util/VersionInfo.java
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolVersion.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolVersion.java?rev=1619417&r1=1619416&r2=1619417&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolVersion.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolVersion.java Thu Aug 21 14:45:31 2014
@@ -105,10 +105,11 @@ public class ProtocolVersion implements
* Obtains a specific version of this protocol.
* This can be used by derived classes to instantiate themselves instead
* of the base class, and to define constants for commonly used versions.
- * <br/>
+ * <p>
* The default implementation in this class returns <code>this</code>
* if the version matches, and creates a new {@link ProtocolVersion}
* otherwise.
+ * </p>
*
* @param major the major version
* @param minor the minor version
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/package-info.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/package-info.java?rev=1619417&r1=1619416&r2=1619417&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/package-info.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/package-info.java Thu Aug 21 14:45:31 2014
@@ -27,8 +27,9 @@
/**
* Thread-safety annotations based on JCIP-ANNOTATIONS
- * <br/>
+ * <p>
* Copyright (c) 2005 Brian Goetz and Tim Peierls.
* See http://www.jcip.net
+ * </p>
*/
package org.apache.http.annotation;
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicTokenIterator.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicTokenIterator.java?rev=1619417&r1=1619416&r2=1619417&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicTokenIterator.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicTokenIterator.java Thu Aug 21 14:45:31 2014
@@ -195,7 +195,7 @@ public class BasicTokenIterator implemen
* Called from {@link #findNext findNext} after the token is identified.
* The default implementation simply calls
* {@link java.lang.String#substring String.substring}.
- * <br/>
+ * <p>
* If header values are significantly longer than tokens, and some
* tokens are permanently referenced by the application, there can
* be problems with garbage collection. A substring will hold a
@@ -203,6 +203,7 @@ public class BasicTokenIterator implemen
* therefore occupies more memory than might be expected.
* To avoid this, override this method and create a new string
* instead of a substring.
+ * </p>
*
* @param value the full header value from which to create a token
* @param start the index of the first token character
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/LineFormatter.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/LineFormatter.java?rev=1619417&r1=1619416&r2=1619417&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/LineFormatter.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/LineFormatter.java Thu Aug 21 14:45:31 2014
@@ -112,8 +112,9 @@ public interface LineFormatter {
* In order to generate well-formed HTTP, the lines in the result
* must be separated by the HTTP line break sequence CR-LF.
* There is <i>no</i> trailing CR-LF in the result.
- * <br/>
+ * <p>
* See the class comment for details about the buffer argument.
+ * </p>
*
* @param buffer a buffer available for formatting, or
* <code>null</code>.
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java?rev=1619417&r1=1619416&r2=1619417&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java Thu Aug 21 14:45:31 2014
@@ -78,9 +78,10 @@ public class HttpRequestExecutor {
/**
* Decide whether a response comes with an entity.
* The implementation in this class is based on RFC 2616.
- * <br/>
+ * <p>
* Derived executors can override this method to handle
* methods and response codes not specified in RFC 2616.
+ * </p>
*
* @param request the request, to obtain the executed method
* @param response the response, to obtain the status code
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/util/VersionInfo.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/util/VersionInfo.java?rev=1619417&r1=1619416&r2=1619417&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/util/VersionInfo.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/util/VersionInfo.java Thu Aug 21 14:45:31 2014
@@ -38,11 +38,12 @@ import java.util.Properties;
* Provides access to version information for HTTP components.
* Static methods are used to extract version information from property
* files that are automatically packaged with HTTP component release JARs.
- * <br/>
+ * <p>
* All available version information is provided in strings, where
* the string format is informal and subject to change without notice.
* Version information is provided for debugging output and interpretation
* by humans, not for automated processing in applications.
+ * </p>
*
* @since 4.0
*/