hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1603932 - in /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http: ./ concurrent/ impl/bootstrap/ impl/entity/ io/ message/ params/ pool/ protocol/
Date Thu, 19 Jun 2014 15:43:31 GMT
Author: ggregory
Date: Thu Jun 19 15:43:31 2014
New Revision: 1603932

URL: http://svn.apache.org/r1603932
Log:
Javadoc fixes for Java 8. Replace "<tt>Foo</tt>" with "{@code Foo}".

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpException.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpStatus.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/MethodNotSupportedException.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolException.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/concurrent/Cancellable.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/bootstrap/ServerBootstrap.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/entity/LaxContentLengthStrategy.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/entity/StrictContentLengthStrategy.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/io/SessionOutputBuffer.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicHeaderElement.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicTokenIterator.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/HttpParams.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/pool/ConnPool.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/pool/PoolEntry.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpRequestExecutor.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpService.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpException.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpException.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpException.java
Thu Jun 19 15:43:31 2014
@@ -37,7 +37,7 @@ public class HttpException extends Excep
     private static final long serialVersionUID = -5437299376222011036L;
 
     /**
-     * Creates a new HttpException with a <tt>null</tt> detail message.
+     * Creates a new HttpException with a {@code null} detail message.
      */
     public HttpException() {
         super();
@@ -56,8 +56,8 @@ public class HttpException extends Excep
      * Creates a new HttpException with the specified detail message and cause.
      *
      * @param message the exception detail message
-     * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
-     * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+     * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+     * if the cause is unavailable, unknown, or not a {@code Throwable}
      */
     public HttpException(final String message, final Throwable cause) {
         super(message);

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpStatus.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpStatus.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpStatus.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpStatus.java Thu
Jun 19 15:43:31 2014
@@ -40,136 +40,136 @@ public interface HttpStatus {
 
     // --- 1xx Informational ---
 
-    /** <tt>100 Continue</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 100 Continue} (HTTP/1.1 - RFC 2616) */
     public static final int SC_CONTINUE = 100;
-    /** <tt>101 Switching Protocols</tt> (HTTP/1.1 - RFC 2616)*/
+    /** {@code 101 Switching Protocols} (HTTP/1.1 - RFC 2616)*/
     public static final int SC_SWITCHING_PROTOCOLS = 101;
-    /** <tt>102 Processing</tt> (WebDAV - RFC 2518) */
+    /** {@code 102 Processing} (WebDAV - RFC 2518) */
     public static final int SC_PROCESSING = 102;
 
     // --- 2xx Success ---
 
-    /** <tt>200 OK</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 200 OK} (HTTP/1.0 - RFC 1945) */
     public static final int SC_OK = 200;
-    /** <tt>201 Created</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 201 Created} (HTTP/1.0 - RFC 1945) */
     public static final int SC_CREATED = 201;
-    /** <tt>202 Accepted</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 202 Accepted} (HTTP/1.0 - RFC 1945) */
     public static final int SC_ACCEPTED = 202;
-    /** <tt>203 Non Authoritative Information</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 203 Non Authoritative Information} (HTTP/1.1 - RFC 2616) */
     public static final int SC_NON_AUTHORITATIVE_INFORMATION = 203;
-    /** <tt>204 No Content</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 204 No Content} (HTTP/1.0 - RFC 1945) */
     public static final int SC_NO_CONTENT = 204;
-    /** <tt>205 Reset Content</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 205 Reset Content} (HTTP/1.1 - RFC 2616) */
     public static final int SC_RESET_CONTENT = 205;
-    /** <tt>206 Partial Content</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 206 Partial Content} (HTTP/1.1 - RFC 2616) */
     public static final int SC_PARTIAL_CONTENT = 206;
     /**
-     * <tt>207 Multi-Status</tt> (WebDAV - RFC 2518) or <tt>207 Partial
Update
+     * {@code 207 Multi-Status} (WebDAV - RFC 2518) or <tt>207 Partial Update
      * OK</tt> (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?)
      */
     public static final int SC_MULTI_STATUS = 207;
 
     // --- 3xx Redirection ---
 
-    /** <tt>300 Mutliple Choices</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 300 Mutliple Choices} (HTTP/1.1 - RFC 2616) */
     public static final int SC_MULTIPLE_CHOICES = 300;
-    /** <tt>301 Moved Permanently</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 301 Moved Permanently} (HTTP/1.0 - RFC 1945) */
     public static final int SC_MOVED_PERMANENTLY = 301;
-    /** <tt>302 Moved Temporarily</tt> (Sometimes <tt>Found</tt>)
(HTTP/1.0 - RFC 1945) */
+    /** {@code 302 Moved Temporarily</tt> (Sometimes <tt>Found}) (HTTP/1.0 -
RFC 1945) */
     public static final int SC_MOVED_TEMPORARILY = 302;
-    /** <tt>303 See Other</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 303 See Other} (HTTP/1.1 - RFC 2616) */
     public static final int SC_SEE_OTHER = 303;
-    /** <tt>304 Not Modified</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 304 Not Modified} (HTTP/1.0 - RFC 1945) */
     public static final int SC_NOT_MODIFIED = 304;
-    /** <tt>305 Use Proxy</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 305 Use Proxy} (HTTP/1.1 - RFC 2616) */
     public static final int SC_USE_PROXY = 305;
-    /** <tt>307 Temporary Redirect</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 307 Temporary Redirect} (HTTP/1.1 - RFC 2616) */
     public static final int SC_TEMPORARY_REDIRECT = 307;
 
     // --- 4xx Client Error ---
 
-    /** <tt>400 Bad Request</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 400 Bad Request} (HTTP/1.1 - RFC 2616) */
     public static final int SC_BAD_REQUEST = 400;
-    /** <tt>401 Unauthorized</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 401 Unauthorized} (HTTP/1.0 - RFC 1945) */
     public static final int SC_UNAUTHORIZED = 401;
-    /** <tt>402 Payment Required</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 402 Payment Required} (HTTP/1.1 - RFC 2616) */
     public static final int SC_PAYMENT_REQUIRED = 402;
-    /** <tt>403 Forbidden</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 403 Forbidden} (HTTP/1.0 - RFC 1945) */
     public static final int SC_FORBIDDEN = 403;
-    /** <tt>404 Not Found</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 404 Not Found} (HTTP/1.0 - RFC 1945) */
     public static final int SC_NOT_FOUND = 404;
-    /** <tt>405 Method Not Allowed</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 405 Method Not Allowed} (HTTP/1.1 - RFC 2616) */
     public static final int SC_METHOD_NOT_ALLOWED = 405;
-    /** <tt>406 Not Acceptable</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 406 Not Acceptable} (HTTP/1.1 - RFC 2616) */
     public static final int SC_NOT_ACCEPTABLE = 406;
-    /** <tt>407 Proxy Authentication Required</tt> (HTTP/1.1 - RFC 2616)*/
+    /** {@code 407 Proxy Authentication Required} (HTTP/1.1 - RFC 2616)*/
     public static final int SC_PROXY_AUTHENTICATION_REQUIRED = 407;
-    /** <tt>408 Request Timeout</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 408 Request Timeout} (HTTP/1.1 - RFC 2616) */
     public static final int SC_REQUEST_TIMEOUT = 408;
-    /** <tt>409 Conflict</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 409 Conflict} (HTTP/1.1 - RFC 2616) */
     public static final int SC_CONFLICT = 409;
-    /** <tt>410 Gone</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 410 Gone} (HTTP/1.1 - RFC 2616) */
     public static final int SC_GONE = 410;
-    /** <tt>411 Length Required</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 411 Length Required} (HTTP/1.1 - RFC 2616) */
     public static final int SC_LENGTH_REQUIRED = 411;
-    /** <tt>412 Precondition Failed</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 412 Precondition Failed} (HTTP/1.1 - RFC 2616) */
     public static final int SC_PRECONDITION_FAILED = 412;
-    /** <tt>413 Request Entity Too Large</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 413 Request Entity Too Large} (HTTP/1.1 - RFC 2616) */
     public static final int SC_REQUEST_TOO_LONG = 413;
-    /** <tt>414 Request-URI Too Long</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 414 Request-URI Too Long} (HTTP/1.1 - RFC 2616) */
     public static final int SC_REQUEST_URI_TOO_LONG = 414;
-    /** <tt>415 Unsupported Media Type</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 415 Unsupported Media Type} (HTTP/1.1 - RFC 2616) */
     public static final int SC_UNSUPPORTED_MEDIA_TYPE = 415;
-    /** <tt>416 Requested Range Not Satisfiable</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 416 Requested Range Not Satisfiable} (HTTP/1.1 - RFC 2616) */
     public static final int SC_REQUESTED_RANGE_NOT_SATISFIABLE = 416;
-    /** <tt>417 Expectation Failed</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 417 Expectation Failed} (HTTP/1.1 - RFC 2616) */
     public static final int SC_EXPECTATION_FAILED = 417;
 
     /**
      * Static constant for a 418 error.
-     * <tt>418 Unprocessable Entity</tt> (WebDAV drafts?)
-     * or <tt>418 Reauthentication Required</tt> (HTTP/1.1 drafts?)
+     * {@code 418 Unprocessable Entity} (WebDAV drafts?)
+     * or {@code 418 Reauthentication Required} (HTTP/1.1 drafts?)
      */
     // not used
     // public static final int SC_UNPROCESSABLE_ENTITY = 418;
 
     /**
      * Static constant for a 419 error.
-     * <tt>419 Insufficient Space on Resource</tt>
+     * {@code 419 Insufficient Space on Resource}
      * (WebDAV - draft-ietf-webdav-protocol-05?)
-     * or <tt>419 Proxy Reauthentication Required</tt>
+     * or {@code 419 Proxy Reauthentication Required}
      * (HTTP/1.1 drafts?)
      */
     public static final int SC_INSUFFICIENT_SPACE_ON_RESOURCE = 419;
     /**
      * Static constant for a 420 error.
-     * <tt>420 Method Failure</tt>
+     * {@code 420 Method Failure}
      * (WebDAV - draft-ietf-webdav-protocol-05?)
      */
     public static final int SC_METHOD_FAILURE = 420;
-    /** <tt>422 Unprocessable Entity</tt> (WebDAV - RFC 2518) */
+    /** {@code 422 Unprocessable Entity} (WebDAV - RFC 2518) */
     public static final int SC_UNPROCESSABLE_ENTITY = 422;
-    /** <tt>423 Locked</tt> (WebDAV - RFC 2518) */
+    /** {@code 423 Locked} (WebDAV - RFC 2518) */
     public static final int SC_LOCKED = 423;
-    /** <tt>424 Failed Dependency</tt> (WebDAV - RFC 2518) */
+    /** {@code 424 Failed Dependency} (WebDAV - RFC 2518) */
     public static final int SC_FAILED_DEPENDENCY = 424;
 
     // --- 5xx Server Error ---
 
-    /** <tt>500 Server Error</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 500 Server Error} (HTTP/1.0 - RFC 1945) */
     public static final int SC_INTERNAL_SERVER_ERROR = 500;
-    /** <tt>501 Not Implemented</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 501 Not Implemented} (HTTP/1.0 - RFC 1945) */
     public static final int SC_NOT_IMPLEMENTED = 501;
-    /** <tt>502 Bad Gateway</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 502 Bad Gateway} (HTTP/1.0 - RFC 1945) */
     public static final int SC_BAD_GATEWAY = 502;
-    /** <tt>503 Service Unavailable</tt> (HTTP/1.0 - RFC 1945) */
+    /** {@code 503 Service Unavailable} (HTTP/1.0 - RFC 1945) */
     public static final int SC_SERVICE_UNAVAILABLE = 503;
-    /** <tt>504 Gateway Timeout</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 504 Gateway Timeout} (HTTP/1.1 - RFC 2616) */
     public static final int SC_GATEWAY_TIMEOUT = 504;
-    /** <tt>505 HTTP Version Not Supported</tt> (HTTP/1.1 - RFC 2616) */
+    /** {@code 505 HTTP Version Not Supported} (HTTP/1.1 - RFC 2616) */
     public static final int SC_HTTP_VERSION_NOT_SUPPORTED = 505;
 
-    /** <tt>507 Insufficient Storage</tt> (WebDAV - RFC 2518) */
+    /** {@code 507 Insufficient Storage} (WebDAV - RFC 2518) */
     public static final int SC_INSUFFICIENT_STORAGE = 507;
 
 }

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/MethodNotSupportedException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/MethodNotSupportedException.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/MethodNotSupportedException.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/MethodNotSupportedException.java
Thu Jun 19 15:43:31 2014
@@ -50,8 +50,8 @@ public class MethodNotSupportedException
      * Creates a new MethodNotSupportedException with the specified detail message and cause.
      *
      * @param message the exception detail message
-     * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
-     * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+     * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+     * if the cause is unavailable, unknown, or not a {@code Throwable}
      */
     public MethodNotSupportedException(final String message, final Throwable cause) {
         super(message, cause);

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolException.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolException.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolException.java
Thu Jun 19 15:43:31 2014
@@ -39,7 +39,7 @@ public class ProtocolException extends H
     private static final long serialVersionUID = -2143571074341228994L;
 
     /**
-     * Creates a new ProtocolException with a <tt>null</tt> detail message.
+     * Creates a new ProtocolException with a {@code null} detail message.
      */
     public ProtocolException() {
         super();
@@ -58,8 +58,8 @@ public class ProtocolException extends H
      * Creates a new ProtocolException with the specified detail message and cause.
      *
      * @param message the exception detail message
-     * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
-     * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+     * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+     * if the cause is unavailable, unknown, or not a {@code Throwable}
      */
     public ProtocolException(final String message, final Throwable cause) {
         super(message, cause);

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/concurrent/Cancellable.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/concurrent/Cancellable.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/concurrent/Cancellable.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/concurrent/Cancellable.java
Thu Jun 19 15:43:31 2014
@@ -27,7 +27,7 @@
 package org.apache.http.concurrent;
 
 /**
- * A <tt>Cancellable</tt> represents a process or an operation that can be
+ * A {@code Cancellable} represents a process or an operation that can be
  * canceled.
  *
  * @since 4.2

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/bootstrap/ServerBootstrap.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/bootstrap/ServerBootstrap.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/bootstrap/ServerBootstrap.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/bootstrap/ServerBootstrap.java
Thu Jun 19 15:43:31 2014
@@ -201,7 +201,7 @@ public class ServerBootstrap {
     }
 
     /**
-     * Assigns <tt>Server</tt> response header value.
+     * Assigns {@code Server} response header value.
      * <p/>
      * Please note this value can be overridden by the {@link #setHttpProcessor(
      * org.apache.http.protocol.HttpProcessor)} method.

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/entity/LaxContentLengthStrategy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/entity/LaxContentLengthStrategy.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/entity/LaxContentLengthStrategy.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/entity/LaxContentLengthStrategy.java
Thu Jun 19 15:43:31 2014
@@ -55,7 +55,7 @@ public class LaxContentLengthStrategy im
     private final int implicitLen;
 
     /**
-     * Creates <tt>LaxContentLengthStrategy</tt> instance with the given length
used per default
+     * Creates {@code LaxContentLengthStrategy} instance with the given length used per default
      * when content length is not explicitly specified in the message.
      *
      * @param implicitLen implicit content length.
@@ -68,7 +68,7 @@ public class LaxContentLengthStrategy im
     }
 
     /**
-     * Creates <tt>LaxContentLengthStrategy</tt> instance. {@link ContentLengthStrategy#IDENTITY}
+     * Creates {@code LaxContentLengthStrategy} instance. {@link ContentLengthStrategy#IDENTITY}
      * is used per default when content length is not explicitly specified in the message.
      */
     public LaxContentLengthStrategy() {

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/entity/StrictContentLengthStrategy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/entity/StrictContentLengthStrategy.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/entity/StrictContentLengthStrategy.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/entity/StrictContentLengthStrategy.java
Thu Jun 19 15:43:31 2014
@@ -55,7 +55,7 @@ public class StrictContentLengthStrategy
     private final int implicitLen;
 
     /**
-     * Creates <tt>StrictContentLengthStrategy</tt> instance with the given length
used per default
+     * Creates {@code StrictContentLengthStrategy} instance with the given length used per
default
      * when content length is not explicitly specified in the message.
      *
      * @param implicitLen implicit content length.
@@ -68,7 +68,7 @@ public class StrictContentLengthStrategy
     }
 
     /**
-     * Creates <tt>StrictContentLengthStrategy</tt> instance. {@link ContentLengthStrategy#IDENTITY}
+     * Creates {@code StrictContentLengthStrategy} instance. {@link ContentLengthStrategy#IDENTITY}
      * is used per default when content length is not explicitly specified in the message.
      */
     public StrictContentLengthStrategy() {

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/io/SessionOutputBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/io/SessionOutputBuffer.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/io/SessionOutputBuffer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/io/SessionOutputBuffer.java
Thu Jun 19 15:43:31 2014
@@ -48,7 +48,7 @@ public interface SessionOutputBuffer {
      * <p>
      * If <code>off</code> is negative, or <code>len</code> is negative,
or
      * <code>off+len</code> is greater than the length of the array
-     * <code>b</code>, then an <tt>IndexOutOfBoundsException</tt>
is thrown.
+     * <code>b</code>, then an {@code IndexOutOfBoundsException} is thrown.
      *
      * @param      b     the data.
      * @param      off   the start offset in the data.

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicHeaderElement.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicHeaderElement.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicHeaderElement.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicHeaderElement.java
Thu Jun 19 15:43:31 2014
@@ -49,8 +49,8 @@ public class BasicHeaderElement implemen
      * Constructor with name, value and parameters.
      *
      * @param name header element name
-     * @param value header element value. May be <tt>null</tt>
-     * @param parameters header element parameters. May be <tt>null</tt>.
+     * @param value header element value. May be {@code null}
+     * @param parameters header element parameters. May be {@code null}.
      *   Parameters are copied by reference, not by value
      */
     public BasicHeaderElement(
@@ -71,7 +71,7 @@ public class BasicHeaderElement implemen
      * Constructor with name and value.
      *
      * @param name header element name
-     * @param value header element value. May be <tt>null</tt>
+     * @param value header element value. May be {@code null}
      */
     public BasicHeaderElement(final String name, final String value) {
        this(name, value, null);

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=1603932&r1=1603931&r2=1603932&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 Jun 19 15:43:31 2014
@@ -275,7 +275,7 @@ public class BasicTokenIterator implemen
      * @throws ParseException
      *         if a new token is found before a token separator.
      *         RFC 2616, section 2.1 explicitly requires a comma between
-     *         tokens for <tt>#</tt>.
+     *         tokens for {@code #}.
      */
     protected int findTokenSeparator(final int pos) {
         int from = Args.notNegative(pos, "Search position");
@@ -328,7 +328,7 @@ public class BasicTokenIterator implemen
     /**
      * Checks whether a character is a token separator.
      * RFC 2616, section 2.1 defines comma as the separator for
-     * <tt>#token</tt> sequences. The end of a header value will
+     * {@code #token} sequences. The end of a header value will
      * also separate tokens, but that is not a character check.
      *
      * @param ch        the character to check

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/HttpParams.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/HttpParams.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/HttpParams.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/params/HttpParams.java
Thu Jun 19 15:43:31 2014
@@ -176,8 +176,8 @@ public interface HttpParams {
      *
      * @param name parameter name
      *
-     * @return <tt>true</tt> if the parameter is set to value <tt>true</tt>,
-     *         <tt>false</tt> if it is not set or set to <code>false</code>
+     * @return {@code true</tt> if the parameter is set to value <tt>true},
+     *         {@code false} if it is not set or set to <code>false</code>
      */
     boolean isParameterTrue(String name);
 
@@ -186,9 +186,9 @@ public interface HttpParams {
      *
      * @param name parameter name
      *
-     * @return <tt>true</tt> if the parameter is either not set or
-     *         set to value <tt>false</tt>,
-     *         <tt>false</tt> if it is set to <code>true</code>
+     * @return {@code true} if the parameter is either not set or
+     *         set to value {@code false},
+     *         {@code false} if it is set to <code>true</code>
      */
     boolean isParameterFalse(String name);
 

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/pool/ConnPool.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/pool/ConnPool.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/pool/ConnPool.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/pool/ConnPool.java
Thu Jun 19 15:43:31 2014
@@ -31,7 +31,7 @@ import java.util.concurrent.Future;
 import org.apache.http.concurrent.FutureCallback;
 
 /**
- * <tt>ConnPool</tt> represents a shared pool connections can be leased from
+ * {@code ConnPool} represents a shared pool connections can be leased from
  * and released back to.
  *
  * @param <T> the route type that represents the opposite endpoint of a pooled

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/pool/PoolEntry.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/pool/PoolEntry.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/pool/PoolEntry.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/pool/PoolEntry.java
Thu Jun 19 15:43:31 2014
@@ -66,7 +66,7 @@ public abstract class PoolEntry<T, C> {
     private volatile Object state;
 
     /**
-     * Creates new <tt>PoolEntry</tt> instance.
+     * Creates new {@code PoolEntry} instance.
      *
      * @param id unique identifier of the pool entry. May be <code>null</code>.
      * @param route route to the opposite endpoint.
@@ -94,7 +94,7 @@ public abstract class PoolEntry<T, C> {
     }
 
     /**
-     * Creates new <tt>PoolEntry</tt> instance without an expiry deadline.
+     * Creates new {@code PoolEntry} instance without an expiry deadline.
      *
      * @param id unique identifier of the pool entry. May be <code>null</code>.
      * @param route route to the opposite endpoint.

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=1603932&r1=1603931&r2=1603932&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 Jun 19 15:43:31 2014
@@ -42,14 +42,14 @@ import org.apache.http.annotation.Immuta
 import org.apache.http.util.Args;
 
 /**
- * <tt>HttpRequestExecutor</tt> is a client side HTTP protocol handler based
+ * {@code HttpRequestExecutor} is a client side HTTP protocol handler based
  * on the blocking (classic) I/O model.
  * <p/>
- * <tt>HttpRequestExecutor</tt> relies on {@link HttpProcessor} to generate
+ * {@code HttpRequestExecutor} relies on {@link HttpProcessor} to generate
  * mandatory protocol headers for all outgoing messages and apply common,
  * cross-cutting message transformations to all incoming and outgoing messages.
  * Application specific processing can be implemented outside
- * <tt>HttpRequestExecutor</tt> once the request has been executed and
+ * {@code HttpRequestExecutor} once the request has been executed and
  * a response has been received.
  *
  * @since 4.0

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpService.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpService.java?rev=1603932&r1=1603931&r2=1603932&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpService.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/HttpService.java
Thu Jun 19 15:43:31 2014
@@ -52,20 +52,20 @@ import org.apache.http.util.EncodingUtil
 import org.apache.http.util.EntityUtils;
 
 /**
- * <tt>HttpService</tt> is a server side HTTP protocol handler based on
+ * {@code HttpService} is a server side HTTP protocol handler based on
  * the classic (blocking) I/O model.
  * <p/>
- * <tt>HttpService</tt> relies on {@link HttpProcessor} to generate mandatory
+ * {@code HttpService} relies on {@link HttpProcessor} to generate mandatory
  * protocol headers for all outgoing messages and apply common, cross-cutting
  * message transformations to all incoming and outgoing messages, whereas
  * individual {@link HttpRequestHandler}s are expected to implement
  * application specific content generation and processing.
  * <p/>
- * <tt>HttpService</tt> uses {@link HttpRequestHandlerMapper} to map
+ * {@code HttpService} uses {@link HttpRequestHandlerMapper} to map
  * matching request handler for a particular request URI of an incoming HTTP
  * request.
  * <p/>
- * <tt>HttpService</tt> can use optional {@link HttpExpectationVerifier}
+ * {@code HttpService} can use optional {@link HttpExpectationVerifier}
  * to ensure that incoming requests meet server's expectations.
  *
  * @since 4.0



Mime
View raw message