hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1619429 [3/5] - in /httpcomponents: contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/ httpasyncclient/trunk/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/ httpasyncclient/trunk/httpasyncclient/src...
Date Thu, 21 Aug 2014 15:09:07 GMT
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/protocol/HttpRequestHandlerRegistry.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/protocol/HttpRequestHandlerRegistry.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/protocol/HttpRequestHandlerRegistry.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/protocol/HttpRequestHandlerRegistry.java Thu Aug 21 15:09:04 2014
@@ -37,9 +37,9 @@ import org.apache.http.util.Args;
  * <br>
  * Patterns may have three formats:
  * <ul>
- *   <li><code>*</code></li>
- *   <li><code>*&lt;uri&gt;</code></li>
- *   <li><code>&lt;uri&gt;*</code></li>
+ *   <li>{@code *}</li>
+ *   <li>{@code *&lt;uri&gt;}</li>
+ *   <li>{@code &lt;uri&gt;*}</li>
  * </ul>
  * <br>
  * This class can be used to resolve an instance of

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/util/ExceptionUtils.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/util/ExceptionUtils.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/util/ExceptionUtils.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/util/ExceptionUtils.java Thu Aug 21 15:09:04 2014
@@ -45,11 +45,11 @@ public final class ExceptionUtils {
     /**
      * Returns a <code>Method<code> allowing access to
      * {@link Throwable#initCause(Throwable) initCause} method of {@link Throwable},
-     * or <code>null</code> if the method
+     * or {@code null} if the method
      * does not exist.
      *
-     * @return A <code>Method<code> for <code>Throwable.initCause</code>, or
-     * <code>null</code> if unavailable.
+     * @return A {@code Method<code> for <code>Throwable.initCause}, or
+     * {@code null} if unavailable.
      */
     static private Method getInitCauseMethod() {
         try {

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ConnectionReuseStrategy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ConnectionReuseStrategy.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ConnectionReuseStrategy.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ConnectionReuseStrategy.java Thu Aug 21 15:09:04 2014
@@ -43,9 +43,9 @@ public interface ConnectionReuseStrategy
 
     /**
      * Decides whether a connection can be kept open after a request.
-     * If this method returns <code>false</code>, the caller MUST
+     * If this method returns {@code false}, the caller MUST
      * close the connection to correctly comply with the HTTP protocol.
-     * If it returns <code>true</code>, the caller SHOULD attempt to
+     * If it returns {@code true}, the caller SHOULD attempt to
      * keep the connection open for reuse with another request.
      * <p>
      * One can use the HTTP context to retrieve additional objects that
@@ -54,7 +54,7 @@ public interface ConnectionReuseStrategy
      * number of times the connection has been reused already and so on.
      * </p>
      * <p>
-     * If the connection is already closed, <code>false</code> is returned.
+     * If the connection is already closed, {@code false} is returned.
      * The stale connection check MUST NOT be triggered by a
      * connection reuse strategy.
      * </p>
@@ -64,8 +64,8 @@ public interface ConnectionReuseStrategy
      * @param context   the context in which the connection is being
      *          used.
      *
-     * @return <code>true</code> if the connection is allowed to be reused, or
-     *         <code>false</code> if it MUST NOT be reused
+     * @return {@code true} if the connection is allowed to be reused, or
+     *         {@code false} if it MUST NOT be reused
      */
     boolean keepAlive(HttpResponse response, HttpContext context);
 

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderElementIterator.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderElementIterator.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderElementIterator.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderElementIterator.java Thu Aug 21 15:09:04 2014
@@ -40,8 +40,8 @@ public interface HeaderElementIterator e
      * Indicates whether there is another header element in this
      * iteration.
      *
-     * @return  <code>true</code> if there is another header element,
-     *          <code>false</code> otherwise
+     * @return  {@code true} if there is another header element,
+     *          {@code false} otherwise
      */
     @Override
     boolean hasNext();

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderIterator.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderIterator.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderIterator.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderIterator.java Thu Aug 21 15:09:04 2014
@@ -39,8 +39,8 @@ public interface HeaderIterator extends 
     /**
      * Indicates whether there is another header in this iteration.
      *
-     * @return  <code>true</code> if there is another header,
-     *          <code>false</code> otherwise
+     * @return  {@code true} if there is another header,
+     *          {@code false} otherwise
      */
     @Override
     boolean hasNext();

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpClientConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpClientConnection.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpClientConnection.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpClientConnection.java Thu Aug 21 15:09:04 2014
@@ -44,7 +44,7 @@ public interface HttpClientConnection ex
      *
      * @param timeout the maximum time in milliseconds to wait for data
      * @return true if data is available; false if there was no data available
-     *         even after waiting for <code>timeout</code> milliseconds.
+     *         even after waiting for {@code timeout} milliseconds.
      * @throws IOException if an error happens on the connection
      */
     boolean isResponseAvailable(int timeout)

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpConnection.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpConnection.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpConnection.java Thu Aug 21 15:09:04 2014
@@ -64,8 +64,8 @@ public interface HttpConnection extends 
      * method may block for a small amount of time before returning a result.
      * It is therefore an <i>expensive</i> operation.
      *
-     * @return  <code>true</code> if attempts to use this connection are
-     *          likely to succeed, or <code>false</code> if they are likely
+     * @return  {@code true} if attempts to use this connection are
+     *          likely to succeed, or {@code false} if they are likely
      *          to fail and this connection should be closed
      */
     boolean isStale();
@@ -81,7 +81,7 @@ public interface HttpConnection extends 
      * Returns the socket timeout value.
      *
      * @return positive value in milliseconds if a timeout is set,
-     * <code>0</code> if timeout is disabled or <code>-1</code> if
+     * {@code 0} if timeout is disabled or {@code -1} if
      * timeout is undefined.
      */
     int getSocketTimeout();

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpConnectionMetrics.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpConnectionMetrics.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpConnectionMetrics.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpConnectionMetrics.java Thu Aug 21 15:09:04 2014
@@ -64,7 +64,7 @@ public interface HttpConnectionMetrics {
      *@param metricName the name of the metric to query.
      *
      *@return the object representing the metric requested,
-     *        <code>null</code> if the metric cannot not found.
+     *        {@code null} if the metric cannot not found.
      */
     Object getMetric(String metricName);
 

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpEntity.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpEntity.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpEntity.java Thu Aug 21 15:09:04 2014
@@ -83,8 +83,8 @@ public interface HttpEntity {
      * but should respect the primary purpose.
      * </p>
      *
-     * @return  <code>true</code> if chunked encoding is preferred for this
-     *          entity, or <code>false</code> if it is not
+     * @return  {@code true} if chunked encoding is preferred for this
+     *          entity, or {@code false} if it is not
      */
     boolean isChunked();
 
@@ -105,7 +105,7 @@ public interface HttpEntity {
      * charset attribute.
      *
      * @return  the Content-Type header for this entity, or
-     *          <code>null</code> if the content type is unknown
+     *          {@code null} if the content type is unknown
      */
     Header getContentType();
 
@@ -117,7 +117,7 @@ public interface HttpEntity {
      * adjust this header accordingly.
      *
      * @return  the Content-Encoding header for this entity, or
-     *          <code>null</code> if the content encoding is unknown
+     *          {@code null} if the content encoding is unknown
      */
     Header getContentEncoding();
 
@@ -161,12 +161,12 @@ public interface HttpEntity {
     /**
      * Tells whether this entity depends on an underlying stream.
      * Streamed entities that read data directly from the socket should
-     * return <code>true</code>. Self-contained entities should return
-     * <code>false</code>. Wrapping entities should delegate this call
+     * return {@code true}. Self-contained entities should return
+     * {@code false}. Wrapping entities should delegate this call
      * to the wrapped entity.
      *
-     * @return  <code>true</code> if the entity content is streamed,
-     *          <code>false</code> otherwise
+     * @return  {@code true} if the entity content is streamed,
+     *          {@code false} otherwise
      */
     boolean isStreaming(); // don't expect an exception here
 

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpHost.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpHost.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpHost.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpHost.java Thu Aug 21 15:09:04 2014
@@ -70,9 +70,9 @@ public final class HttpHost implements C
      *
      * @param hostname  the hostname (IP or DNS name)
      * @param port      the port number.
-     *                  <code>-1</code> indicates the scheme default port.
+     *                  {@code -1} indicates the scheme default port.
      * @param scheme    the name of the scheme.
-     *                  <code>null</code> indicates the
+     *                  {@code null} indicates the
      *                  {@link #DEFAULT_SCHEME_NAME default scheme}
      */
     public HttpHost(final String hostname, final int port, final String scheme) {
@@ -93,7 +93,7 @@ public final class HttpHost implements C
      *
      * @param hostname  the hostname (IP or DNS name)
      * @param port      the port number.
-     *                  <code>-1</code> indicates the scheme default port.
+     *                  {@code -1} indicates the scheme default port.
      */
     public HttpHost(final String hostname, final int port) {
         this(hostname, port, null);
@@ -140,9 +140,9 @@ public final class HttpHost implements C
      *
      * @param address   the inet address.
      * @param port      the port number.
-     *                  <code>-1</code> indicates the scheme default port.
+     *                  {@code -1} indicates the scheme default port.
      * @param scheme    the name of the scheme.
-     *                  <code>null</code> indicates the
+     *                  {@code null} indicates the
      *                  {@link #DEFAULT_SCHEME_NAME default scheme}
      *
      * @since 4.3
@@ -157,9 +157,9 @@ public final class HttpHost implements C
      * @param address   the inet address.
      * @param hostname   the hostname (IP or DNS name)
      * @param port      the port number.
-     *                  <code>-1</code> indicates the scheme default port.
+     *                  {@code -1} indicates the scheme default port.
      * @param scheme    the name of the scheme.
-     *                  <code>null</code> indicates the
+     *                  {@code null} indicates the
      *                  {@link #DEFAULT_SCHEME_NAME default scheme}
      *
      * @since 4.4
@@ -183,7 +183,7 @@ public final class HttpHost implements C
      *
      * @param address   the inet address.
      * @param port      the port number.
-     *                  <code>-1</code> indicates the scheme default port.
+     *                  {@code -1} indicates the scheme default port.
      *
      * @since 4.3
      */
@@ -230,7 +230,7 @@ public final class HttpHost implements C
     /**
      * Returns the port.
      *
-     * @return the host port, or <code>-1</code> if not set
+     * @return the host port, or {@code -1} if not set
      */
     public int getPort() {
         return this.port;
@@ -247,7 +247,7 @@ public final class HttpHost implements C
 
     /**
      * Returns the inet address if explicitly set by a constructor,
-     *   <code>null</code> otherwise.
+     *   {@code null} otherwise.
      * @return the inet address
      *
      * @since 4.3
@@ -277,7 +277,7 @@ public final class HttpHost implements C
     /**
      * Obtains the host string, without scheme prefix.
      *
-     * @return  the host string, for example <code>localhost:8080</code>
+     * @return  the host string, for example {@code localhost:8080}
      */
     public String toHostString() {
         if (this.port != -1) {

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpMessage.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpMessage.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpMessage.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpMessage.java Thu Aug 21 15:09:04 2014
@@ -76,7 +76,7 @@ public interface HttpMessage {
      * connection.
      *
      * @param name the name of the headers to return.
-     * @return the headers whose name property equals <code>name</code>.
+     * @return the headers whose name property equals {@code name}.
      */
     Header[] getHeaders(String name);
 
@@ -84,12 +84,12 @@ public interface HttpMessage {
      * Returns the first header with a specified name of this message. Header
      * values are ignored. If there is more than one matching header in the
      * message the first element of {@link #getHeaders(String)} is returned.
-     * If there is no matching header in the message <code>null</code> is
+     * If there is no matching header in the message {@code null} is
      * returned.
      *
      * @param name the name of the header to return.
-     * @return the first header whose name property equals <code>name</code>
-     *   or <code>null</code> if no such header could be found.
+     * @return the first header whose name property equals {@code name}
+     *   or {@code null} if no such header could be found.
      */
     Header getFirstHeader(String name);
 
@@ -97,11 +97,11 @@ public interface HttpMessage {
      * Returns the last header with a specified name of this message. Header values
      * are ignored. If there is more than one matching header in the message the
      * last element of {@link #getHeaders(String)} is returned. If there is no
-     * matching header in the message <code>null</code> is returned.
+     * matching header in the message {@code null} is returned.
      *
      * @param name the name of the header to return.
-     * @return the last header whose name property equals <code>name</code>.
-     *   or <code>null</code> if no such header could be found.
+     * @return the last header whose name property equals {@code name}.
+     *   or {@code null} if no such header could be found.
      */
     Header getLastHeader(String name);
 
@@ -180,7 +180,7 @@ public interface HttpMessage {
      * Returns an iterator of the headers with a given name.
      *
      * @param name      the name of the headers over which to iterate, or
-     *                  <code>null</code> for all headers
+     *                  {@code null} for all headers
      *
      * @return Iterator that returns Header objects with the argument name
      *         in the sequence they are sent over a connection.

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponse.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponse.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponse.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponse.java Thu Aug 21 15:09:04 2014
@@ -51,7 +51,7 @@ public interface HttpResponse extends Ht
      * {@link #setStatusLine setStatusLine} methods,
      * or it can be initialized in a constructor.
      *
-     * @return  the status line, or <code>null</code> if not yet set
+     * @return  the status line, or {@code null} if not yet set
      */
     StatusLine getStatusLine();
 
@@ -77,7 +77,7 @@ public interface HttpResponse extends Ht
      *
      * @param ver       the HTTP version
      * @param code      the status code
-     * @param reason    the reason phrase, or <code>null</code> to omit
+     * @param reason    the reason phrase, or {@code null} to omit
      */
     void setStatusLine(ProtocolVersion ver, int code, String reason);
 
@@ -100,7 +100,7 @@ public interface HttpResponse extends Ht
      * Updates the status line of this response with a new reason phrase.
      *
      * @param reason    the new reason phrase as a single-line string, or
-     *                  <code>null</code> to unset the reason phrase
+     *                  {@code null} to unset the reason phrase
      *
      * @throws IllegalStateException
      *          if the status line has not be set
@@ -116,7 +116,7 @@ public interface HttpResponse extends Ht
      * The entity is provided by calling {@link #setEntity setEntity}.
      *
      * @return  the response entity, or
-     *          <code>null</code> if there is none
+     *          {@code null} if there is none
      */
     HttpEntity getEntity();
 
@@ -124,11 +124,11 @@ public interface HttpResponse extends Ht
      * Associates a response entity with this response.
      * <p/>
      * Please note that if an entity has already been set for this response and it depends on
-     * an input stream ({@link HttpEntity#isStreaming()} returns <code>true</code>),
+     * an input stream ({@link HttpEntity#isStreaming()} returns {@code true}),
      * it must be fully consumed in order to ensure release of resources.
      *
      * @param entity    the entity to associate with this response, or
-     *                  <code>null</code> to unset
+     *                  {@code null} to unset
      *
      * @see HttpEntity#isStreaming()
      * @see org.apache.http.util.EntityUtils#updateEntity(HttpResponse, HttpEntity)
@@ -141,7 +141,7 @@ public interface HttpResponse extends Ht
      * for the {@link #setStatusCode status code}.
      * It can be changed using {@link #setLocale setLocale}.
      *
-     * @return  the locale of this response, never <code>null</code>
+     * @return  the locale of this response, never {@code null}
      */
     Locale getLocale();
 

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponseFactory.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponseFactory.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponseFactory.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponseFactory.java Thu Aug 21 15:09:04 2014
@@ -43,7 +43,7 @@ public interface HttpResponseFactory {
      * @param status    the status code
      * @param context   the context from which to determine the locale
      *                  for looking up a reason phrase to the status code, or
-     *                  <code>null</code> to use the default locale
+     *                  {@code null} to use the default locale
      *
      * @return  the new response with an initialized status line
      */
@@ -57,7 +57,7 @@ public interface HttpResponseFactory {
      * @param context    the context from which to determine the locale
      *                   for looking up a reason phrase if the status code
      *                   is updated, or
-     *                   <code>null</code> to use the default locale
+     *                   {@code null} to use the default locale
      *
      * @return  the new response with the argument status line
      */

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ParseException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ParseException.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ParseException.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ParseException.java Thu Aug 21 15:09:04 2014
@@ -52,7 +52,7 @@ public class ParseException extends Runt
     /**
      * Creates a {@link ParseException} with a detail message.
      *
-     * @param message the exception detail message, or <code>null</code>
+     * @param message the exception detail message, or {@code null}
      */
     public ParseException(final String message) {
         super(message);

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=1619429&r1=1619428&r2=1619429&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 15:09:04 2014
@@ -106,7 +106,7 @@ public class ProtocolVersion implements 
      * This can be used by derived classes to instantiate themselves instead
      * of the base class, and to define constants for commonly used versions.
      * <p>
-     * The default implementation in this class returns <code>this</code>
+     * The default implementation in this class returns {@code this}
      * if the version matches, and creates a new {@link ProtocolVersion}
      * otherwise.
      * </p>
@@ -149,8 +149,8 @@ public class ProtocolVersion implements 
      *
      * @param obj       the object to compare with
      *
-     * @return  <code>true</code> if the argument is the same protocol version,
-     *          <code>false</code> otherwise
+     * @return  {@code true} if the argument is the same protocol version,
+     *          {@code false} otherwise
      */
     @Override
     public final boolean equals(final Object obj) {
@@ -175,8 +175,8 @@ public class ProtocolVersion implements 
      *
      * @param that      the protocol version to consider
      *
-     * @return  <code>true</code> if {@link #compareToVersion compareToVersion}
-     *          can be called with the argument, <code>false</code> otherwise
+     * @return  {@code true} if {@link #compareToVersion compareToVersion}
+     *          can be called with the argument, {@code false} otherwise
      */
     public boolean isComparable(final ProtocolVersion that) {
         return (that != null) && this.protocol.equals(that.protocol);
@@ -197,7 +197,7 @@ public class ProtocolVersion implements 
      *
      * @throws IllegalArgumentException
      *         if the argument has a different protocol name than this object,
-     *         or if the argument is <code>null</code>
+     *         or if the argument is {@code null}
      */
     public int compareToVersion(final ProtocolVersion that) {
         Args.notNull(that, "Protocol version");
@@ -216,10 +216,10 @@ public class ProtocolVersion implements 
      *
      * @param version   the version against which to check this version
      *
-     * @return  <code>true</code> if this protocol version is
+     * @return  {@code true} if this protocol version is
      *          {@link #isComparable comparable} to the argument
      *          and {@link #compareToVersion compares} as greater or equal,
-     *          <code>false</code> otherwise
+     *          {@code false} otherwise
      */
     public final boolean greaterEquals(final ProtocolVersion version) {
         return isComparable(version) && (compareToVersion(version) >= 0);
@@ -231,10 +231,10 @@ public class ProtocolVersion implements 
      *
      * @param version   the version against which to check this version
      *
-     * @return  <code>true</code> if this protocol version is
+     * @return  {@code true} if this protocol version is
      *          {@link #isComparable comparable} to the argument
      *          and {@link #compareToVersion compares} as less or equal,
-     *          <code>false</code> otherwise
+     *          {@code false} otherwise
      */
     public final boolean lessEquals(final ProtocolVersion version) {
         return isComparable(version) && (compareToVersion(version) <= 0);

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ReasonPhraseCatalog.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ReasonPhraseCatalog.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ReasonPhraseCatalog.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ReasonPhraseCatalog.java Thu Aug 21 15:09:04 2014
@@ -44,7 +44,7 @@ public interface ReasonPhraseCatalog {
      * @param status    the status code, in the range 100-599
      * @param loc       the preferred locale for the reason phrase
      *
-     * @return  the reason phrase, or <code>null</code> if unknown
+     * @return  the reason phrase, or {@code null} if unknown
      */
     String getReason(int status, Locale loc);
 

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/TokenIterator.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/TokenIterator.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/TokenIterator.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/TokenIterator.java Thu Aug 21 15:09:04 2014
@@ -42,8 +42,8 @@ public interface TokenIterator extends I
     /**
      * Indicates whether there is another token in this iteration.
      *
-     * @return  <code>true</code> if there is another token,
-     *          <code>false</code> otherwise
+     * @return  {@code true} if there is another token,
+     *          {@code false} otherwise
      */
     @Override
     boolean hasNext();

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/GuardedBy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/GuardedBy.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/GuardedBy.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/GuardedBy.java Thu Aug 21 15:09:04 2014
@@ -42,28 +42,28 @@ import java.lang.annotation.Target;
  * </p>
  * <ul>
  * <li>
- * <code>this</code> : The intrinsic lock of the object in whose class the field is defined.
+ * {@code this} : The intrinsic lock of the object in whose class the field is defined.
  * </li>
  * <li>
- * <code>class-name.this</code> : For inner classes, it may be necessary to disambiguate 'this';
+ * {@code class-name.this} : For inner classes, it may be necessary to disambiguate 'this';
  * the <em>class-name.this</em> designation allows you to specify which 'this' reference is intended
  * </li>
  * <li>
- * <code>itself</code> : For reference fields only; the object to which the field refers.
+ * {@code itself} : For reference fields only; the object to which the field refers.
  * </li>
  * <li>
- * <code>field-name</code> : The lock object is referenced by the (instance or static) field
+ * {@code field-name} : The lock object is referenced by the (instance or static) field
  * specified by <em>field-name</em>.
  * </li>
  * <li>
- * <code>class-name.field-name</code> : The lock object is reference by the static field specified
+ * {@code class-name.field-name} : The lock object is reference by the static field specified
  * by <em>class-name.field-name</em>.
  * </li>
  * <li>
- * <code>method-name()</code> : The lock object is returned by calling the named nil-ary method.
+ * {@code method-name()} : The lock object is returned by calling the named nil-ary method.
  * </li>
  * <li>
- * <code>class-name.class</code> : The Class object for the specified class should be used as the lock object.
+ * {@code class-name.class} : The Class object for the specified class should be used as the lock object.
  * </li>
  * </ul>
  * <p>

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/config/SocketConfig.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/config/SocketConfig.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/config/SocketConfig.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/config/SocketConfig.java Thu Aug 21 15:09:04 2014
@@ -72,7 +72,7 @@ public class SocketConfig implements Clo
     /**
      * Determines the default socket timeout value for non-blocking I/O operations.
      * <p>
-     * Default: <code>0</code> (no timeout)
+     * Default: {@code 0} (no timeout)
      * </p>
      *
      * @return the default socket timeout value for non-blocking I/O operations.
@@ -86,7 +86,7 @@ public class SocketConfig implements Clo
      * Determines the default value of the {@link java.net.SocketOptions#SO_REUSEADDR} parameter
      * for newly created sockets.
      * <p>
-     * Default: <code>false</code>
+     * Default: {@code false}
      * </p>
      *
      * @return the default value of the {@link java.net.SocketOptions#SO_REUSEADDR} parameter.
@@ -100,7 +100,7 @@ public class SocketConfig implements Clo
      * Determines the default value of the {@link java.net.SocketOptions#SO_LINGER} parameter
      * for newly created sockets.
      * <p>
-     * Default: <code>-1</code>
+     * Default: {@code -1}
      * </p>
      *
      * @return the default value of the {@link java.net.SocketOptions#SO_LINGER} parameter.
@@ -114,7 +114,7 @@ public class SocketConfig implements Clo
      * Determines the default value of the {@link java.net.SocketOptions#SO_KEEPALIVE} parameter
      * for newly created sockets.
      * <p>
-     * Default: <code>-1</code>
+     * Default: {@code -1}
      * </p>
      *
      * @return the default value of the {@link java.net.SocketOptions#SO_KEEPALIVE} parameter.
@@ -128,7 +128,7 @@ public class SocketConfig implements Clo
      * Determines the default value of the {@link java.net.SocketOptions#TCP_NODELAY} parameter
      * for newly created sockets.
      * <p>
-     * Default: <code>false</code>
+     * Default: {@code false}
      * </p>
      *
      * @return the default value of the {@link java.net.SocketOptions#TCP_NODELAY} parameter.
@@ -142,7 +142,7 @@ public class SocketConfig implements Clo
      * Determines the default value of the {@link java.net.SocketOptions#SO_SNDBUF} parameter
      * for newly created sockets.
      * <p>
-     * Default: <code>0</code> (system default)
+     * Default: {@code 0} (system default)
      * </p>
      *
      * @return the default value of the {@link java.net.SocketOptions#SO_SNDBUF} parameter.
@@ -157,7 +157,7 @@ public class SocketConfig implements Clo
      * Determines the default value of the {@link java.net.SocketOptions#SO_RCVBUF} parameter
      * for newly created sockets.
      * <p>
-     * Default: <code>0</code> (system default)
+     * Default: {@code 0} (system default)
      * </p>
      *
      * @return the default value of the {@link java.net.SocketOptions#SO_RCVBUF} parameter.
@@ -172,7 +172,7 @@ public class SocketConfig implements Clo
      * Determines the maximum queue length for incoming connection indications
      * (a request to connect) also known as server socket backlog.
      * <p>
-     * Default: <code>0</code> (system default)
+     * Default: {@code 0} (system default)
      * </p>
      * @return the maximum queue length for incoming connection indications
      * @since 4.4

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/AbstractHttpEntity.java Thu Aug 21 15:09:04 2014
@@ -59,7 +59,7 @@ public abstract class AbstractHttpEntity
     /**
      * Protected default constructor.
      * The contentType, contentEncoding and chunked attributes of the created object are set to
-     * <code>null</code>, <code>null</code> and <code>false</code>, respectively.
+     * {@code null}, {@code null} and {@code false}, respectively.
      */
     protected AbstractHttpEntity() {
         super();
@@ -71,7 +71,7 @@ public abstract class AbstractHttpEntity
      * The default implementation returns the value of the
      * {@link #contentType contentType} attribute.
      *
-     * @return  the Content-Type header, or <code>null</code>
+     * @return  the Content-Type header, or {@code null}
      */
     @Override
     public Header getContentType() {
@@ -84,7 +84,7 @@ public abstract class AbstractHttpEntity
      * The default implementation returns the value of the
      * {@link #contentEncoding contentEncoding} attribute.
      *
-     * @return  the Content-Encoding header, or <code>null</code>
+     * @return  the Content-Encoding header, or {@code null}
      */
     @Override
     public Header getContentEncoding() {
@@ -110,7 +110,7 @@ public abstract class AbstractHttpEntity
      * {@link #contentType contentType} attribute.
      *
      * @param contentType       the new Content-Encoding header, or
-     *                          <code>null</code> to unset
+     *                          {@code null} to unset
      */
     public void setContentType(final Header contentType) {
         this.contentType = contentType;
@@ -122,7 +122,7 @@ public abstract class AbstractHttpEntity
      * {@link #setContentType(Header) setContentType(Header)}.
      *
      * @param ctString     the new Content-Type header, or
-     *                     <code>null</code> to unset
+     *                     {@code null} to unset
      */
     public void setContentType(final String ctString) {
         Header h = null;
@@ -139,7 +139,7 @@ public abstract class AbstractHttpEntity
      * {@link #contentEncoding contentEncoding} attribute.
      *
      * @param contentEncoding   the new Content-Encoding header, or
-     *                          <code>null</code> to unset
+     *                          {@code null} to unset
      */
     public void setContentEncoding(final Header contentEncoding) {
         this.contentEncoding = contentEncoding;
@@ -151,7 +151,7 @@ public abstract class AbstractHttpEntity
      * {@link #setContentEncoding(Header) setContentEncoding(Header)}.
      *
      * @param ceString     the new Content-Encoding header, or
-     *                     <code>null</code> to unset
+     *                     {@code null} to unset
      */
     public void setContentEncoding(final String ceString) {
         Header h = null;

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/BasicHttpEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/BasicHttpEntity.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/BasicHttpEntity.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/BasicHttpEntity.java Thu Aug 21 15:09:04 2014
@@ -80,7 +80,7 @@ public class BasicHttpEntity extends Abs
     /**
      * Tells that this entity is not repeatable.
      *
-     * @return <code>false</code>
+     * @return {@code false}
      */
     @Override
     public boolean isRepeatable() {

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/BufferedHttpEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/BufferedHttpEntity.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/BufferedHttpEntity.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/BufferedHttpEntity.java Thu Aug 21 15:09:04 2014
@@ -87,7 +87,7 @@ public class BufferedHttpEntity extends 
     /**
      * Tells that this entity does not have to be chunked.
      *
-     * @return  <code>false</code>
+     * @return  {@code false}
      */
     @Override
     public boolean isChunked() {
@@ -97,7 +97,7 @@ public class BufferedHttpEntity extends 
     /**
      * Tells that this entity is repeatable.
      *
-     * @return  <code>true</code>
+     * @return  {@code true}
      */
     @Override
     public boolean isRepeatable() {

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ByteArrayEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ByteArrayEntity.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ByteArrayEntity.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ByteArrayEntity.java Thu Aug 21 15:09:04 2014
@@ -121,7 +121,7 @@ public class ByteArrayEntity extends Abs
     /**
      * Tells that this entity is not streaming.
      *
-     * @return <code>false</code>
+     * @return {@code false}
      */
     @Override
     public boolean isStreaming() {

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ContentType.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ContentType.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ContentType.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/ContentType.java Thu Aug 21 15:09:04 2014
@@ -137,7 +137,7 @@ public final class ContentType implement
 
     /**
      * Generates textual representation of this content type which can be used as the value
-     * of a <code>Content-Type</code> header.
+     * of a {@code Content-Type} header.
      */
     @Override
     public String toString() {
@@ -166,7 +166,7 @@ public final class ContentType implement
     /**
      * Creates a new instance of {@link ContentType}.
      *
-     * @param mimeType MIME type. It may not be <code>null</code> or empty. It may not contain
+     * @param mimeType MIME type. It may not be {@code null} or empty. It may not contain
      *        characters <">, <;>, <,> reserved by the HTTP specification.
      * @param charset charset.
      * @return content type
@@ -180,7 +180,7 @@ public final class ContentType implement
     /**
      * Creates a new instance of {@link ContentType} without a charset.
      *
-     * @param mimeType MIME type. It may not be <code>null</code> or empty. It may not contain
+     * @param mimeType MIME type. It may not be {@code null} or empty. It may not contain
      *        characters <">, <;>, <,> reserved by the HTTP specification.
      * @return content type
      */
@@ -191,7 +191,7 @@ public final class ContentType implement
     /**
      * Creates a new instance of {@link ContentType}.
      *
-     * @param mimeType MIME type. It may not be <code>null</code> or empty. It may not contain
+     * @param mimeType MIME type. It may not be {@code null} or empty. It may not contain
      *        characters <">, <;>, <,> reserved by the HTTP specification.
      * @param charset charset. It may not contain characters <">, <;>, <,> reserved by the HTTP
      *        specification. This parameter is optional.
@@ -228,12 +228,12 @@ public final class ContentType implement
     }
 
     /**
-     * Parses textual representation of <code>Content-Type</code> value.
+     * Parses textual representation of {@code Content-Type} value.
      *
      * @param s text
      * @return content type
      * @throws ParseException if the given text does not represent a valid
-     * <code>Content-Type</code> value.
+     * {@code Content-Type} value.
      * @throws UnsupportedCharsetException Thrown when the named charset is not available in
      * this instance of the Java virtual machine
      */
@@ -252,14 +252,14 @@ public final class ContentType implement
     }
 
     /**
-     * Extracts <code>Content-Type</code> value from {@link HttpEntity} exactly as
-     * specified by the <code>Content-Type</code> header of the entity. Returns <code>null</code>
+     * Extracts {@code Content-Type} value from {@link HttpEntity} exactly as
+     * specified by the {@code Content-Type} header of the entity. Returns {@code null}
      * if not specified.
      *
      * @param entity HTTP entity
      * @return content type
      * @throws ParseException if the given text does not represent a valid
-     * <code>Content-Type</code> value.
+     * {@code Content-Type} value.
      * @throws UnsupportedCharsetException Thrown when the named charset is not available in
      * this instance of the Java virtual machine
      */
@@ -279,7 +279,7 @@ public final class ContentType implement
     }
 
     /**
-     * Extracts <code>Content-Type</code> value from {@link HttpEntity}. Returns <code>null</code>
+     * Extracts {@code Content-Type} value from {@link HttpEntity}. Returns {@code null}
      * if not specified or incorrect (could not be parsed)..
      *
      * @param entity HTTP entity
@@ -307,13 +307,13 @@ public final class ContentType implement
     }
 
     /**
-     * Extracts <code>Content-Type</code> value from {@link HttpEntity} or returns the default value
+     * Extracts {@code Content-Type} value from {@link HttpEntity} or returns the default value
      * {@link #DEFAULT_TEXT} if not explicitly specified.
      *
      * @param entity HTTP entity
      * @return content type
      * @throws ParseException if the given text does not represent a valid
-     * <code>Content-Type</code> value.
+     * {@code Content-Type} value.
      * @throws UnsupportedCharsetException Thrown when the named charset is not available in
      * this instance of the Java virtual machine
      */
@@ -324,7 +324,7 @@ public final class ContentType implement
     }
 
     /**
-     * Extracts <code>Content-Type</code> value from {@link HttpEntity} or returns the default value
+     * Extracts {@code Content-Type} value from {@link HttpEntity} or returns the default value
      * {@link #DEFAULT_TEXT} if not explicitly specified or incorrect (could not be parsed).
      *
      * @param entity HTTP entity

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/FileEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/FileEntity.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/FileEntity.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/FileEntity.java Thu Aug 21 15:09:04 2014
@@ -109,7 +109,7 @@ public class FileEntity extends Abstract
     /**
      * Tells that this entity is not streaming.
      *
-     * @return <code>false</code>
+     * @return {@code false}
      */
     @Override
     public boolean isStreaming() {

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/StringEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/StringEntity.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/StringEntity.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/entity/StringEntity.java Thu Aug 21 15:09:04 2014
@@ -173,7 +173,7 @@ public class StringEntity extends Abstra
     /**
      * Tells that this entity is not streaming.
      *
-     * @return <code>false</code>
+     * @return {@code false}
      */
     @Override
     public boolean isStreaming() {

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/BHttpConnectionBase.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/BHttpConnectionBase.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/BHttpConnectionBase.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/BHttpConnectionBase.java Thu Aug 21 15:09:04 2014
@@ -91,14 +91,14 @@ public class BHttpConnectionBase impleme
      * @param buffersize buffer size. Must be a positive number.
      * @param fragmentSizeHint fragment size hint.
      * @param chardecoder decoder to be used for decoding HTTP protocol elements.
-     *   If <code>null</code> simple type cast will be used for byte to char conversion.
+     *   If {@code null} simple type cast will be used for byte to char conversion.
      * @param charencoder encoder to be used for encoding HTTP protocol elements.
-     *   If <code>null</code> simple type cast will be used for char to byte conversion.
-     * @param messageConstraints Message constraints. If <code>null</code>
+     *   If {@code null} simple type cast will be used for char to byte conversion.
+     * @param messageConstraints Message constraints. If {@code null}
      *   {@link MessageConstraints#DEFAULT} will be used.
-     * @param incomingContentStrategy incoming content length strategy. If <code>null</code>
+     * @param incomingContentStrategy incoming content length strategy. If {@code null}
      *   {@link LaxContentLengthStrategy#INSTANCE} will be used.
-     * @param outgoingContentStrategy outgoing content length strategy. If <code>null</code>
+     * @param outgoingContentStrategy outgoing content length strategy. If {@code null}
      *   {@link StrictContentLengthStrategy#INSTANCE} will be used.
      */
     protected BHttpConnectionBase(
@@ -150,7 +150,7 @@ public class BHttpConnectionBase impleme
      * used by the connection to send and receive data.
      * <p/>
      * After this method's execution the connection status will be reported
-     * as open and the {@link #isOpen()} will return <code>true</code>.
+     * as open and the {@link #isOpen()} will return {@code true}.
      *
      * @param socket the socket.
      * @throws IOException in case of an I/O error.

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultBHttpClientConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultBHttpClientConnection.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultBHttpClientConnection.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultBHttpClientConnection.java Thu Aug 21 15:09:04 2014
@@ -70,18 +70,18 @@ public class DefaultBHttpClientConnectio
      * @param buffersize buffer size. Must be a positive number.
      * @param fragmentSizeHint fragment size hint.
      * @param chardecoder decoder to be used for decoding HTTP protocol elements.
-     *   If <code>null</code> simple type cast will be used for byte to char conversion.
+     *   If {@code null} simple type cast will be used for byte to char conversion.
      * @param charencoder encoder to be used for encoding HTTP protocol elements.
-     *   If <code>null</code> simple type cast will be used for char to byte conversion.
-     * @param constraints Message constraints. If <code>null</code>
+     *   If {@code null} simple type cast will be used for char to byte conversion.
+     * @param constraints Message constraints. If {@code null}
      *   {@link MessageConstraints#DEFAULT} will be used.
-     * @param incomingContentStrategy incoming content length strategy. If <code>null</code>
+     * @param incomingContentStrategy incoming content length strategy. If {@code null}
      *   {@link org.apache.http.impl.entity.LaxContentLengthStrategy#INSTANCE} will be used.
-     * @param outgoingContentStrategy outgoing content length strategy. If <code>null</code>
+     * @param outgoingContentStrategy outgoing content length strategy. If {@code null}
      *   {@link org.apache.http.impl.entity.StrictContentLengthStrategy#INSTANCE} will be used.
-     * @param requestWriterFactory request writer factory. If <code>null</code>
+     * @param requestWriterFactory request writer factory. If {@code null}
      *   {@link DefaultHttpRequestWriterFactory#INSTANCE} will be used.
-     * @param responseParserFactory response parser factory. If <code>null</code>
+     * @param responseParserFactory response parser factory. If {@code null}
      *   {@link DefaultHttpResponseParserFactory#INSTANCE} will be used.
      */
     public DefaultBHttpClientConnection(

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultBHttpServerConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultBHttpServerConnection.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultBHttpServerConnection.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultBHttpServerConnection.java Thu Aug 21 15:09:04 2014
@@ -69,18 +69,18 @@ public class DefaultBHttpServerConnectio
      * @param buffersize buffer size. Must be a positive number.
      * @param fragmentSizeHint fragment size hint.
      * @param chardecoder decoder to be used for decoding HTTP protocol elements.
-     *   If <code>null</code> simple type cast will be used for byte to char conversion.
+     *   If {@code null} simple type cast will be used for byte to char conversion.
      * @param charencoder encoder to be used for encoding HTTP protocol elements.
-     *   If <code>null</code> simple type cast will be used for char to byte conversion.
-     * @param constraints Message constraints. If <code>null</code>
+     *   If {@code null} simple type cast will be used for char to byte conversion.
+     * @param constraints Message constraints. If {@code null}
      *   {@link MessageConstraints#DEFAULT} will be used.
-     * @param incomingContentStrategy incoming content length strategy. If <code>null</code>
+     * @param incomingContentStrategy incoming content length strategy. If {@code null}
      *   {@link DisallowIdentityContentLengthStrategy#INSTANCE} will be used.
-     * @param outgoingContentStrategy outgoing content length strategy. If <code>null</code>
+     * @param outgoingContentStrategy outgoing content length strategy. If {@code null}
      *   {@link org.apache.http.impl.entity.StrictContentLengthStrategy#INSTANCE} will be used.
-     * @param requestParserFactory request parser factory. If <code>null</code>
+     * @param requestParserFactory request parser factory. If {@code null}
      *   {@link DefaultHttpRequestParserFactory#INSTANCE} will be used.
-     * @param responseWriterFactory response writer factory. If <code>null</code>
+     * @param responseWriterFactory response writer factory. If {@code null}
      *   {@link DefaultHttpResponseWriterFactory#INSTANCE} will be used.
      */
     public DefaultBHttpServerConnection(

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultConnectionReuseStrategy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultConnectionReuseStrategy.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultConnectionReuseStrategy.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultConnectionReuseStrategy.java Thu Aug 21 15:09:04 2014
@@ -47,15 +47,15 @@ import org.apache.http.util.Args;
  * The default implementation first checks some basics, for example
  * whether the connection is still open or whether the end of the
  * request entity can be determined without closing the connection.
- * If these checks pass, the tokens in the <code>Connection</code> header will
- * be examined. In the absence of a <code>Connection</code> header, the
- * non-standard but commonly used <code>Proxy-Connection</code> header takes
- * it's role. A token <code>close</code> indicates that the connection cannot
- * be reused. If there is no such token, a token <code>keep-alive</code>
+ * If these checks pass, the tokens in the {@code Connection} header will
+ * be examined. In the absence of a {@code Connection} header, the
+ * non-standard but commonly used {@code Proxy-Connection} header takes
+ * it's role. A token {@code close} indicates that the connection cannot
+ * be reused. If there is no such token, a token {@code keep-alive}
  * indicates that the connection should be re-used. If neither token is found,
- * or if there are no <code>Connection</code> headers, the default policy for
- * the HTTP version is applied. Since <code>HTTP/1.1</code>, connections are
- * re-used by default. Up until <code>HTTP/1.0</code>, connections are not
+ * or if there are no {@code Connection} headers, the default policy for
+ * the HTTP version is applied. Since {@code HTTP/1.1}, connections are
+ * re-used by default. Up until {@code HTTP/1.0}, connections are not
  * re-used by default.
  *
  * @since 4.0

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultHttpResponseFactory.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultHttpResponseFactory.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultHttpResponseFactory.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/DefaultHttpResponseFactory.java Thu Aug 21 15:09:04 2014
@@ -100,9 +100,9 @@ public class DefaultHttpResponseFactory 
      * The implementation in this class always returns the default locale.
      *
      * @param context   the context from which to determine the locale, or
-     *                  <code>null</code> to use the default locale
+     *                  {@code null} to use the default locale
      *
-     * @return  the locale for the response, never <code>null</code>
+     * @return  the locale for the response, never {@code null}
      */
     protected Locale determineLocale(final HttpContext context) {
         return Locale.getDefault();

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/EnglishReasonPhraseCatalog.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/EnglishReasonPhraseCatalog.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/EnglishReasonPhraseCatalog.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/EnglishReasonPhraseCatalog.java Thu Aug 21 15:09:04 2014
@@ -70,7 +70,7 @@ public class EnglishReasonPhraseCatalog 
      * @param status    the status code, in the range 100-599
      * @param loc       ignored
      *
-     * @return  the reason phrase, or <code>null</code>
+     * @return  the reason phrase, or {@code null}
      */
     @Override
     public String getReason(final int status, final Locale loc) {

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=1619429&r1=1619428&r2=1619429&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 Aug 21 15:09:04 2014
@@ -40,7 +40,7 @@ import org.apache.http.util.Args;
 
 /**
  * The lax implementation of the content length strategy. This class will ignore
- * unrecognized transfer encodings and malformed <code>Content-Length</code>
+ * unrecognized transfer encodings and malformed {@code Content-Length}
  * header values.
  * <p/>
  * This class recognizes "chunked" and "identitiy" transfer-coding only.

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=1619429&r1=1619428&r2=1619429&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 Aug 21 15:09:04 2014
@@ -40,7 +40,7 @@ import org.apache.http.util.Args;
 /**
  * The strict implementation of the content length strategy. This class
  * will throw {@link ProtocolException} if it encounters an unsupported
- * transfer encoding or a malformed <code>Content-Length</code> header
+ * transfer encoding or a malformed {@code Content-Length} header
  * value.
  * <p>
  * This class recognizes "chunked" and "identitiy" transfer-coding only.

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java Thu Aug 21 15:09:04 2014
@@ -98,9 +98,9 @@ public abstract class AbstractMessagePar
      * Creates new instance of AbstractMessageParser.
      *
      * @param buffer the session input buffer.
-     * @param lineParser the line parser. If <code>null</code> {@link BasicLineParser#INSTANCE}
+     * @param lineParser the line parser. If {@code null} {@link BasicLineParser#INSTANCE}
      *   will be used.
-     * @param constraints the message constraints. If <code>null</code>
+     * @param constraints the message constraints. If {@code null}
      *   {@link MessageConstraints#DEFAULT} will be used.
      *
      * @since 4.3
@@ -130,7 +130,7 @@ public abstract class AbstractMessagePar
      *  including the continuation lines. Setting this parameter to a negative
      *  value or zero will disable the check.
      * @return array of HTTP headers
-     * @param parser line parser to use. Can be <code>null</code>, in which case
+     * @param parser line parser to use. Can be {@code null}, in which case
      *  the default implementation of this interface will be used.
      *
      * @throws IOException in case of an I/O error

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageWriter.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageWriter.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageWriter.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageWriter.java Thu Aug 21 15:09:04 2014
@@ -81,7 +81,7 @@ public abstract class AbstractMessageWri
      * Creates an instance of AbstractMessageWriter.
      *
      * @param buffer the session output buffer.
-     * @param formatter the line formatter If <code>null</code> {@link BasicLineFormatter#INSTANCE}
+     * @param formatter the line formatter If {@code null} {@link BasicLineFormatter#INSTANCE}
      *   will be used.
      *
      * @since 4.3

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ChunkedInputStream.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ChunkedInputStream.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ChunkedInputStream.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ChunkedInputStream.java Thu Aug 21 15:09:04 2014
@@ -93,7 +93,7 @@ public class ChunkedInputStream extends 
      * Wraps session input stream and reads chunk coded input.
      *
      * @param in The session input buffer
-     * @param constraints Message constraints. If <code>null</code>
+     * @param constraints Message constraints. If {@code null}
      *   {@link MessageConstraints#DEFAULT} will be used.
      *
      * @since 4.4

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ContentLengthInputStream.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ContentLengthInputStream.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ContentLengthInputStream.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ContentLengthInputStream.java Thu Aug 21 15:09:04 2014
@@ -39,7 +39,7 @@ import org.apache.http.util.Args;
 /**
  * Input stream that cuts off after a defined number of bytes. This class
  * is used to receive content of HTTP messages where the end of the content
- * entity is determined by the value of the <code>Content-Length header</code>.
+ * entity is determined by the value of the {@code Content-Length header}.
  * Entities transferred using this stream can be maximum {@link Long#MAX_VALUE}
  * long.
  * <p>

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ContentLengthOutputStream.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ContentLengthOutputStream.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ContentLengthOutputStream.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ContentLengthOutputStream.java Thu Aug 21 15:09:04 2014
@@ -37,7 +37,7 @@ import org.apache.http.util.Args;
 /**
  * Output stream that cuts off after a defined number of bytes. This class
  * is used to send content of HTTP messages where the end of the content entity
- * is determined by the value of the <code>Content-Length header</code>.
+ * is determined by the value of the {@code Content-Length header}.
  * Entities transferred using this stream can be maximum {@link Long#MAX_VALUE}
  * long.
  * <p>

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpRequestParser.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpRequestParser.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpRequestParser.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpRequestParser.java Thu Aug 21 15:09:04 2014
@@ -86,11 +86,11 @@ public class DefaultHttpRequestParser ex
      * Creates new instance of DefaultHttpRequestParser.
      *
      * @param buffer the session input buffer.
-     * @param lineParser the line parser. If <code>null</code>
+     * @param lineParser the line parser. If {@code null}
      *   {@link org.apache.http.message.BasicLineParser#INSTANCE} will be used.
-     * @param requestFactory the response factory. If <code>null</code>
+     * @param requestFactory the response factory. If {@code null}
      *   {@link DefaultHttpRequestFactory#INSTANCE} will be used.
-     * @param constraints the message constraints. If <code>null</code>
+     * @param constraints the message constraints. If {@code null}
      *   {@link MessageConstraints#DEFAULT} will be used.
      *
      * @since 4.3

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpRequestWriter.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpRequestWriter.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpRequestWriter.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpRequestWriter.java Thu Aug 21 15:09:04 2014
@@ -46,7 +46,7 @@ public class DefaultHttpRequestWriter ex
      * Creates an instance of DefaultHttpRequestWriter.
      *
      * @param buffer the session output buffer.
-     * @param formatter the line formatter If <code>null</code>
+     * @param formatter the line formatter If {@code null}
      *   {@link org.apache.http.message.BasicLineFormatter#INSTANCE}
      *   will be used.
      */

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpResponseParser.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpResponseParser.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpResponseParser.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpResponseParser.java Thu Aug 21 15:09:04 2014
@@ -86,11 +86,11 @@ public class DefaultHttpResponseParser e
      * Creates new instance of DefaultHttpResponseParser.
      *
      * @param buffer the session input buffer.
-     * @param lineParser the line parser. If <code>null</code>
+     * @param lineParser the line parser. If {@code null}
      *   {@link org.apache.http.message.BasicLineParser#INSTANCE} will be used
-     * @param responseFactory the response factory. If <code>null</code>
+     * @param responseFactory the response factory. If {@code null}
      *   {@link DefaultHttpResponseFactory#INSTANCE} will be used.
-     * @param constraints the message constraints. If <code>null</code>
+     * @param constraints the message constraints. If {@code null}
      *   {@link MessageConstraints#DEFAULT} will be used.
      *
      * @since 4.3

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpResponseWriter.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpResponseWriter.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpResponseWriter.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/DefaultHttpResponseWriter.java Thu Aug 21 15:09:04 2014
@@ -46,7 +46,7 @@ public class DefaultHttpResponseWriter e
      * Creates an instance of DefaultHttpResponseWriter.
      *
      * @param buffer the session output buffer.
-     * @param formatter the line formatter If <code>null</code>
+     * @param formatter the line formatter If {@code null}
      *  {@link org.apache.http.message.BasicLineFormatter#INSTANCE}
      *   will be used.
      */

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/IdentityInputStream.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/IdentityInputStream.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/IdentityInputStream.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/IdentityInputStream.java Thu Aug 21 15:09:04 2014
@@ -43,7 +43,7 @@ import org.apache.http.util.Args;
  * <p>
  * Note that this class NEVER closes the underlying stream, even when close
  * gets called.  Instead, it will read until the end of the stream (until
- * <code>-1</code> is returned).
+ * {@code -1} is returned).
  *
  * @since 4.0
  */

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/SessionInputBufferImpl.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/SessionInputBufferImpl.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/SessionInputBufferImpl.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/SessionInputBufferImpl.java Thu Aug 21 15:09:04 2014
@@ -82,10 +82,10 @@ public class SessionInputBufferImpl impl
      *   The optimal value of this parameter can be platform specific and defines a trade-off
      *   between performance of memory copy operations and that of native method invocation.
      *   If negative default chunk limited will be used.
-     * @param constraints Message constraints. If <code>null</code>
+     * @param constraints Message constraints. If {@code null}
      *   {@link MessageConstraints#DEFAULT} will be used.
      * @param chardecoder chardecoder to be used for decoding HTTP protocol elements.
-     *   If <code>null</code> simple type cast will be used for byte to char conversion.
+     *   If {@code null} simple type cast will be used for byte to char conversion.
      */
     public SessionInputBufferImpl(
             final HttpTransportMetricsImpl metrics,
@@ -230,7 +230,7 @@ public class SessionInputBufferImpl impl
      * session buffer into the given line buffer. The number of chars actually
      * read is returned as an integer. The line delimiter itself is discarded.
      * If no char is available because the end of the stream has been reached,
-     * the value <code>-1</code> is returned. This method blocks until input
+     * the value {@code -1} is returned. This method blocks until input
      * data is available, end of file is detected, or an exception is thrown.
      * <p>
      * This method treats a lone LF as a valid line delimiters in addition
@@ -298,7 +298,7 @@ public class SessionInputBufferImpl impl
      * Reads a complete line of characters up to a line delimiter from this
      * session buffer. The line delimiter itself is discarded. If no char is
      * available because the end of the stream has been reached,
-     * <code>null</code> is returned. This method blocks until input data is
+     * {@code null} is returned. This method blocks until input data is
      * available, end of file is detected, or an exception is thrown.
      * <p>
      * This method treats a lone LF as a valid line delimiters in addition

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/SessionOutputBufferImpl.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/SessionOutputBufferImpl.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/SessionOutputBufferImpl.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/SessionOutputBufferImpl.java Thu Aug 21 15:09:04 2014
@@ -74,9 +74,9 @@ public class SessionOutputBufferImpl imp
      * @param buffersize buffer size. Must be a positive number.
      * @param fragementSizeHint fragment size hint defining a minimal size of a fragment
      *   that should be written out directly to the socket bypassing the session buffer.
-     *   Value <code>0</code> disables fragment buffering.
+     *   Value {@code 0} disables fragment buffering.
      * @param charencoder charencoder to be used for encoding HTTP protocol elements.
-     *   If <code>null</code> simple type cast will be used for char to byte conversion.
+     *   If {@code null} simple type cast will be used for char to byte conversion.
      */
     public SessionOutputBufferImpl(
             final HttpTransportMetricsImpl metrics,

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/io/SessionInputBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/io/SessionInputBuffer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/io/SessionInputBuffer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/io/SessionInputBuffer.java Thu Aug 21 15:09:04 2014
@@ -43,25 +43,25 @@ import org.apache.http.util.CharArrayBuf
 public interface SessionInputBuffer {
 
     /**
-     * Reads up to <code>len</code> bytes of data from the session buffer into
+     * Reads up to {@code len} bytes of data from the session buffer into
      * an array of bytes.  An attempt is made to read as many as
-     * <code>len</code> bytes, but a smaller number may be read, possibly
+     * {@code len} bytes, but a smaller number may be read, possibly
      * zero. The number of bytes actually read is returned as an integer.
      *
      * <p> This method blocks until input data is available, end of file is
      * detected, or an exception is thrown.
      *
-     * <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 <code>IndexOutOfBoundsException</code> is
+     * <p> If {@code off} is negative, or {@code len} is negative, or
+     * {@code off+len} is greater than the length of the array
+     * {@code b}, then an {@code IndexOutOfBoundsException} is
      * thrown.
      *
      * @param      b     the buffer into which the data is read.
-     * @param      off   the start offset in array <code>b</code>
+     * @param      off   the start offset in array {@code b}
      *                   at which the data is written.
      * @param      len   the maximum number of bytes to read.
      * @return     the total number of bytes read into the buffer, or
-     *             <code>-1</code> if there is no more data because the end of
+     *             {@code -1} if there is no more data because the end of
      *             the stream has been reached.
      * @exception  IOException  if an I/O error occurs.
      */
@@ -69,13 +69,13 @@ public interface SessionInputBuffer {
 
     /**
      * Reads some number of bytes from the session buffer and stores them into
-     * the buffer array <code>b</code>. The number of bytes actually read is
+     * the buffer array {@code b}. The number of bytes actually read is
      * returned as an integer.  This method blocks until input data is
      * available, end of file is detected, or an exception is thrown.
      *
      * @param      b   the buffer into which the data is read.
      * @return     the total number of bytes read into the buffer, or
-     *             <code>-1</code> is there is no more data because the end of
+     *             {@code -1} is there is no more data because the end of
      *             the stream has been reached.
      * @exception  IOException  if an I/O error occurs.
      */
@@ -83,13 +83,13 @@ public interface SessionInputBuffer {
 
     /**
      * Reads the next byte of data from this session buffer. The value byte is
-     * returned as an <code>int</code> in the range <code>0</code> to
-     * <code>255</code>. If no byte is available because the end of the stream
-     * has been reached, the value <code>-1</code> is returned. This method
+     * returned as an {@code int} in the range {@code 0} to
+     * {@code 255}. If no byte is available because the end of the stream
+     * has been reached, the value {@code -1} is returned. This method
      * blocks until input data is available, the end of the stream is detected,
      * or an exception is thrown.
      *
-     * @return     the next byte of data, or <code>-1</code> if the end of the
+     * @return     the next byte of data, or {@code -1} if the end of the
      *             stream is reached.
      * @exception  IOException  if an I/O error occurs.
      */
@@ -100,7 +100,7 @@ public interface SessionInputBuffer {
      * session buffer into the given line buffer. The number of chars actually
      * read is returned as an integer. The line delimiter itself is discarded.
      * If no char is available because the end of the stream has been reached,
-     * the value <code>-1</code> is returned. This method blocks until input
+     * the value {@code -1} is returned. This method blocks until input
      * data is available, end of file is detected, or an exception is thrown.
      * <p>
      * The choice of a char encoding and line delimiter sequence is up to the
@@ -116,7 +116,7 @@ public interface SessionInputBuffer {
      * Reads a complete line of characters up to a line delimiter from this
      * session buffer. The line delimiter itself is discarded. If no char is
      * available because the end of the stream has been reached,
-     * <code>null</code> is returned. This method blocks until input data is
+     * {@code null} is returned. This method blocks until input data is
      * available, end of file is detected, or an exception is thrown.
      * <p>
      * The choice of a char encoding and line delimiter sequence is up to the
@@ -129,11 +129,11 @@ public interface SessionInputBuffer {
 
     /** Blocks until some data becomes available in the session buffer or the
      * given timeout period in milliseconds elapses. If the timeout value is
-     * <code>0</code> this method blocks indefinitely.
+     * {@code 0} this method blocks indefinitely.
      *
      * @param timeout in milliseconds.
-     * @return <code>true</code> if some data is available in the session
-     *   buffer or <code>false</code> otherwise.
+     * @return {@code true} if some data is available in the session
+     *   buffer or {@code false} otherwise.
      * @exception  IOException  if an I/O error occurs.
      *
      * @deprecated (4.3) do not use. This function should be provided at the

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=1619429&r1=1619428&r2=1619429&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 Aug 21 15:09:04 2014
@@ -43,12 +43,12 @@ import org.apache.http.util.CharArrayBuf
 public interface SessionOutputBuffer {
 
     /**
-     * Writes <code>len</code> bytes from the specified byte array
-     * starting at offset <code>off</code> to this session buffer.
+     * Writes {@code len} bytes from the specified byte array
+     * starting at offset {@code off} to this session buffer.
      * <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 {@code IndexOutOfBoundsException} is thrown.
+     * If {@code off} is negative, or {@code len} is negative, or
+     * {@code off+len} is greater than the length of the array
+     * {@code b}, then an {@code IndexOutOfBoundsException} is thrown.
      *
      * @param      b     the data.
      * @param      off   the start offset in the data.
@@ -58,7 +58,7 @@ public interface SessionOutputBuffer {
     void write(byte[] b, int off, int len) throws IOException;
 
     /**
-     * Writes <code>b.length</code> bytes from the specified byte array
+     * Writes {@code b.length} bytes from the specified byte array
      * to this session buffer.
      *
      * @param      b   the data.
@@ -69,7 +69,7 @@ public interface SessionOutputBuffer {
     /**
      * Writes the specified byte to this session buffer.
      *
-     * @param      b   the <code>byte</code>.
+     * @param      b   the {@code byte}.
      * @exception  IOException  if an I/O error occurs.
      */
     void write(int b) throws IOException;
@@ -100,7 +100,7 @@ public interface SessionOutputBuffer {
 
     /**
      * Flushes this session buffer and forces any buffered output bytes
-     * to be written out. The general contract of <code>flush</code> is
+     * to be written out. The general contract of {@code flush} is
      * that calling it is an indication that, if any bytes previously
      * written have been buffered by the implementation of the output
      * stream, such bytes should immediately be written to their



Mime
View raw message