You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2014/08/21 17:09:07 UTC

svn commit: r1619429 [2/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...

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpRequestWriter.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpRequestWriter.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpRequestWriter.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpRequestWriter.java Thu Aug 21 15:09:04 2014
@@ -61,7 +61,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.
      *
      * @since 4.3

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpResponseParser.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpResponseParser.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpResponseParser.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpResponseParser.java Thu Aug 21 15:09:04 2014
@@ -74,11 +74,11 @@ public class DefaultHttpResponseParser e
      * Creates an instance of DefaultHttpResponseParser.
      *
      * @param buffer the session input buffer.
-     * @param parser the line parser. If <code>null</code>
+     * @param parser 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 Message constraints. If <code>null</code>
+     * @param constraints Message constraints. If {@code null}
      *   {@link MessageConstraints#DEFAULT} will be used.
      *
      * @since 4.3

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpResponseWriter.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpResponseWriter.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpResponseWriter.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/DefaultHttpResponseWriter.java Thu Aug 21 15:09:04 2014
@@ -61,7 +61,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.
      *
      * @since 4.3

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/IdentityEncoder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/IdentityEncoder.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/IdentityEncoder.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/IdentityEncoder.java Thu Aug 21 15:09:04 2014
@@ -63,7 +63,7 @@ public class IdentityEncoder extends Abs
      * @param metrics transport metrics.
      * @param fragementSizeHint fragment size hint defining an minimal size of a fragment
      *   that should be written out directly to the channel bypassing the session buffer.
-     *   Value <code>0</code> disables fragment buffering.
+     *   Value {@code 0} disables fragment buffering.
      */
     public IdentityEncoder(
             final WritableByteChannel channel,

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedDecoder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedDecoder.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedDecoder.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedDecoder.java Thu Aug 21 15:09:04 2014
@@ -42,7 +42,7 @@ import org.apache.http.util.Args;
 /**
  * Content decoder 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-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/codecs/LengthDelimitedEncoder.java Thu Aug 21 15:09:04 2014
@@ -41,7 +41,7 @@ import org.apache.http.util.Args;
 /**
  * Content encoder 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>
@@ -69,7 +69,7 @@ public class LengthDelimitedEncoder exte
      * @param contentLength content length.
      * @param fragementSizeHint fragment size hint defining an minimal size of a fragment
      *   that should be written out directly to the channel bypassing the session buffer.
-     *   Value <code>0</code> disables fragment buffering.
+     *   Value {@code 0} disables fragment buffering.
      */
     public LengthDelimitedEncoder(
             final WritableByteChannel channel,

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractIOReactor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractIOReactor.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractIOReactor.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractIOReactor.java Thu Aug 21 15:09:04 2014
@@ -204,7 +204,7 @@ public abstract class AbstractIOReactor 
     }
 
     /**
-     * Returns <code>true</code> if interest Ops queueing is enabled, <code>false</code> otherwise.
+     * Returns {@code true} if interest Ops queueing is enabled, {@code false} otherwise.
      *
      * @since 4.1
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.java Thu Aug 21 15:09:04 2014
@@ -129,7 +129,7 @@ public abstract class AbstractMultiworke
      *
      * @param config I/O reactor configuration.
      * @param threadFactory the factory to create threads.
-     *   Can be <code>null</code>.
+     *   Can be {@code null}.
      * @throws IOReactorException in case if a non-recoverable I/O error.
      *
      * @since 4.2
@@ -195,7 +195,7 @@ public abstract class AbstractMultiworke
      *
      * @param workerCount number of worker I/O reactors.
      * @param threadFactory the factory to create threads.
-     *   Can be <code>null</code>.
+     *   Can be {@code null}.
      * @param params HTTP parameters.
      * @throws IOReactorException in case if a non-recoverable I/O error.
      *
@@ -232,7 +232,7 @@ public abstract class AbstractMultiworke
      *
      * @param ex the exception thrown by the I/O reactor.
      * @param timestamp the time stamp of the exception. Can be
-     * <code>null</code> in which case the current date / time will be used.
+     * {@code null} in which case the current date / time will be used.
      */
     protected synchronized void addExceptionEvent(final Throwable ex, final Date timestamp) {
         if (ex == null) {
@@ -516,7 +516,7 @@ public abstract class AbstractMultiworke
     /**
      * Blocks for the given period of time in milliseconds awaiting
      * the completion of the reactor shutdown. If the value of
-     * <code>timeout</code> is set to <code>0</code> this method blocks
+     * {@code timeout} is set to {@code 0} this method blocks
      * indefinitely.
      *
      * @param timeout the maximum wait time.

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/ChannelEntry.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/ChannelEntry.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/ChannelEntry.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/ChannelEntry.java Thu Aug 21 15:09:04 2014
@@ -49,7 +49,7 @@ public class ChannelEntry {
      * Creates new ChannelEntry.
      *
      * @param channel the channel
-     * @param sessionRequest original session request. Can be <code>null</code>
+     * @param sessionRequest original session request. Can be {@code null}
      *   if the channel represents an incoming server-side connection.
      */
     public ChannelEntry(final SocketChannel channel, final SessionRequestImpl sessionRequest) {
@@ -71,10 +71,10 @@ public class ChannelEntry {
     /**
      * Returns the original session request, if available. If the channel
      * entry represents an incoming server-side connection, returns
-     * <code>null</code>.
+     * {@code null}.
      *
      * @return the original session request, if client-side channel,
-     *  <code>null</code> otherwise.
+     *  {@code null} otherwise.
      */
     public SessionRequestImpl getSessionRequest() {
         return this.sessionRequest;
@@ -84,7 +84,7 @@ public class ChannelEntry {
      * Returns the original session request attachment, if available.
      *
      * @return the original session request attachment, if available,
-     *  <code>null</code> otherwise.
+     *  {@code null} otherwise.
      */
     public Object getAttachment() {
         if (this.sessionRequest != null) {

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/DefaultConnectingIOReactor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/DefaultConnectingIOReactor.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/DefaultConnectingIOReactor.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/DefaultConnectingIOReactor.java Thu Aug 21 15:09:04 2014
@@ -70,7 +70,7 @@ public class DefaultConnectingIOReactor 
      *
      * @param config I/O reactor configuration.
      * @param threadFactory the factory to create threads.
-     *   Can be <code>null</code>.
+     *   Can be {@code null}.
      * @throws IOReactorException in case if a non-recoverable I/O error.
      *
      * @since 4.2
@@ -87,7 +87,7 @@ public class DefaultConnectingIOReactor 
      * Creates an instance of DefaultConnectingIOReactor with the given configuration.
      *
      * @param config I/O reactor configuration.
-     *   Can be <code>null</code>.
+     *   Can be {@code null}.
      * @throws IOReactorException in case if a non-recoverable I/O error.
      *
      * @since 4.2

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/DefaultListeningIOReactor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/DefaultListeningIOReactor.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/DefaultListeningIOReactor.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/DefaultListeningIOReactor.java Thu Aug 21 15:09:04 2014
@@ -73,7 +73,7 @@ public class DefaultListeningIOReactor e
      *
      * @param config I/O reactor configuration.
      * @param threadFactory the factory to create threads.
-     *   Can be <code>null</code>.
+     *   Can be {@code null}.
      * @throws IOReactorException in case if a non-recoverable I/O error.
      *
      * @since 4.2
@@ -91,7 +91,7 @@ public class DefaultListeningIOReactor e
      * Creates an instance of DefaultListeningIOReactor with the given configuration.
      *
      * @param config I/O reactor configuration.
-     *   Can be <code>null</code>.
+     *   Can be {@code null}.
      * @throws IOReactorException in case if a non-recoverable I/O error.
      *
      * @since 4.2

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/IOReactorConfig.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/IOReactorConfig.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/IOReactorConfig.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/IOReactorConfig.java Thu Aug 21 15:09:04 2014
@@ -109,7 +109,7 @@ public final class IOReactorConfig imple
      * Determines time interval in milliseconds at which the I/O reactor wakes up to check for
      * timed out sessions and session requests.
      * <p/>
-     * Default: <code>1000</code> milliseconds.
+     * Default: {@code 1000} milliseconds.
      */
     public long getSelectInterval() {
         return this.selectInterval;
@@ -128,7 +128,7 @@ public final class IOReactorConfig imple
      * Determines grace period in milliseconds the I/O reactors are expected to block waiting
      * for individual worker threads to terminate cleanly.
      * <p/>
-     * Default: <code>500</code> milliseconds.
+     * Default: {@code 500} milliseconds.
      */
     public long getShutdownGracePeriod() {
         return this.shutdownGracePeriod;
@@ -148,7 +148,7 @@ public final class IOReactorConfig imple
      * asynchronously by the I/O reactor thread or to be applied to the underlying
      * {@link java.nio.channels.SelectionKey} immediately.
      * <p/>
-     * Default: <code>false</code>
+     * Default: {@code false}
      *
      * @see java.nio.channels.SelectionKey
      * @see java.nio.channels.SelectionKey#interestOps()
@@ -169,7 +169,7 @@ public final class IOReactorConfig imple
     /**
      * Determines the number of I/O dispatch threads to be used by the I/O reactor.
      * <p/>
-     * Default: <code>2</code>
+     * Default: {@code 2}
      */
     public int getIoThreadCount() {
         return this.ioThreadCount;
@@ -187,7 +187,7 @@ public final class IOReactorConfig imple
     /**
      * Determines the default socket timeout value for non-blocking I/O operations.
      * <p/>
-     * Default: <code>0</code> (no timeout)
+     * Default: {@code 0} (no timeout)
      *
      * @see java.net.SocketOptions#SO_TIMEOUT
      */
@@ -207,7 +207,7 @@ public final class IOReactorConfig imple
      * 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}
      *
      * @see java.net.SocketOptions#SO_REUSEADDR
      */
@@ -227,7 +227,7 @@ public final class IOReactorConfig imple
      * 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}
      *
      * @see java.net.SocketOptions#SO_LINGER
      */
@@ -247,7 +247,7 @@ public final class IOReactorConfig imple
      * 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}
      *
      * @see java.net.SocketOptions#SO_KEEPALIVE
      */
@@ -267,7 +267,7 @@ public final class IOReactorConfig imple
      * 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}
      *
      * @see java.net.SocketOptions#TCP_NODELAY
      */
@@ -286,7 +286,7 @@ public final class IOReactorConfig imple
     /**
      * Determines the default connect timeout value for non-blocking connection requests.
      * <p/>
-     * Default: <code>0</code> (no timeout)
+     * Default: {@code 0} (no timeout)
      */
     public int getConnectTimeout() {
         return connectTimeout;
@@ -304,7 +304,7 @@ public final class IOReactorConfig imple
      * 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)
      *
      * @see java.net.SocketOptions#SO_SNDBUF
      */
@@ -324,7 +324,7 @@ public final class IOReactorConfig imple
      * 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)
      *
      * @see java.net.SocketOptions#SO_RCVBUF
      */
@@ -343,7 +343,7 @@ public final class IOReactorConfig imple
     /**
      * Determines the default backlog size value for server sockets binds.
      * <p/>
-     * Default: <code>0</code> (system default)
+     * Default: {@code 0} (system default)
      *
      * @since 4.4
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionInputBufferImpl.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionInputBufferImpl.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionInputBufferImpl.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionInputBufferImpl.java Thu Aug 21 15:09:04 2014
@@ -73,13 +73,13 @@ public class SessionInputBufferImpl exte
      *
      * @param buffersize input buffer size
      * @param lineBuffersize buffer size for line operations. Has effect only if
-     *   <code>chardecoder</code> is not <code>null</code>.
+     *   {@code chardecoder} is not {@code null}.
      * @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.
-     * @param constraints Message constraints. If <code>null</code>
+     *   If {@code null} simple type cast will be used for byte to char conversion.
+     * @param constraints Message constraints. If {@code null}
      *   {@link MessageConstraints#DEFAULT} will be used.
      * @param allocator memory allocator.
-     *   If <code>null</code> {@link HeapByteBufferAllocator#INSTANCE} will be used.
+     *   If {@code null} {@link HeapByteBufferAllocator#INSTANCE} will be used.
      *
      * @since 4.4
      */
@@ -100,11 +100,11 @@ public class SessionInputBufferImpl exte
      *
      * @param buffersize input buffer size
      * @param lineBuffersize buffer size for line operations. Has effect only if
-     *   <code>chardecoder</code> is not <code>null</code>.
+     *   {@code chardecoder} is not {@code null}.
      * @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.
      * @param allocator memory allocator.
-     *   If <code>null</code> {@link HeapByteBufferAllocator#INSTANCE} will be used.
+     *   If {@code null} {@link HeapByteBufferAllocator#INSTANCE} will be used.
      *
      * @since 4.3
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionOutputBufferImpl.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionOutputBufferImpl.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionOutputBufferImpl.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionOutputBufferImpl.java Thu Aug 21 15:09:04 2014
@@ -72,11 +72,11 @@ public class SessionOutputBufferImpl ext
      *
      * @param buffersize input buffer size
      * @param lineBuffersize buffer size for line operations. Has effect only if
-     *   <code>charencoder</code> is not <code>null</code>.
+     *   {@code charencoder} is not {@code null}.
      * @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.
      * @param allocator memory allocator.
-     *   If <code>null</code> {@link HeapByteBufferAllocator#INSTANCE} will be used.
+     *   If {@code null} {@link HeapByteBufferAllocator#INSTANCE} will be used.
      *
      * @since 4.3
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentDecoder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentDecoder.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentDecoder.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentDecoder.java Thu Aug 21 15:09:04 2014
@@ -50,11 +50,11 @@ public interface ContentDecoder {
     int read(ByteBuffer dst) throws IOException;
 
     /**
-     * Returns <code>true</code> if the entity has been received in its
+     * Returns {@code true} if the entity has been received in its
      * entirety.
      *
-     * @return <code>true</code> if all the content has been consumed,
-     * <code>false</code> otherwise.
+     * @return {@code true} if all the content has been consumed,
+     * {@code false} otherwise.
      */
     boolean isCompleted();
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentDecoderChannel.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentDecoderChannel.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentDecoderChannel.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentDecoderChannel.java Thu Aug 21 15:09:04 2014
@@ -34,7 +34,7 @@ import java.nio.channels.ReadableByteCha
 /**
  * A {@link ReadableByteChannel} that delegates to a {@link ContentDecoder}.
  * Attempts to close this channel are ignored, and {@link #isOpen} always
- * returns <code>true</code>.
+ * returns {@code true}.
  *
  * @since 4.0
  */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentEncoder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentEncoder.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentEncoder.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentEncoder.java Thu Aug 21 15:09:04 2014
@@ -56,11 +56,11 @@ public interface ContentEncoder {
     void complete() throws IOException;
 
     /**
-     * Returns <code>true</code> if the entity has been transferred in its
+     * Returns {@code true} if the entity has been transferred in its
      * entirety.
      *
-     * @return <code>true</code> if all the content has been produced,
-     * <code>false</code> otherwise.
+     * @return {@code true} if all the content has been produced,
+     * {@code false} otherwise.
      */
     boolean isCompleted();
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentEncoderChannel.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentEncoderChannel.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentEncoderChannel.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/ContentEncoderChannel.java Thu Aug 21 15:09:04 2014
@@ -34,7 +34,7 @@ import java.nio.channels.WritableByteCha
 /**
  * A {@link WritableByteChannel} that delegates to a {@link ContentEncoder}.
  * Attempts to close this channel are ignored, and {@link #isOpen} always
- * returns <code>true</code>.
+ * returns {@code true}.
  *
  * @since 4.0
  */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpClientConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpClientConnection.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpClientConnection.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpClientConnection.java Thu Aug 21 15:09:04 2014
@@ -52,11 +52,11 @@ public interface NHttpClientConnection e
     void submitRequest(HttpRequest request) throws IOException, HttpException;
 
     /**
-     * Returns <code>true</code> if an HTTP request has been submitted to the
+     * Returns {@code true} if an HTTP request has been submitted to the
      * target server.
      *
-     * @return <code>true</code> if an HTTP request has been submitted,
-     * <code>false</code> otherwise.
+     * @return {@code true} if an HTTP request has been submitted,
+     * {@code false} otherwise.
      */
     boolean isRequestSubmitted();
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpConnection.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpConnection.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpConnection.java Thu Aug 21 15:09:04 2014
@@ -37,7 +37,7 @@ import org.apache.http.protocol.HttpCont
  * HTTP execution context, which can be used to maintain a processing state,
  * as well as the actual {@link HttpRequest} and {@link HttpResponse} that are
  * being transmitted over this connection. Both the request and
- * the response objects can be <code>null</code> if there is no incoming or
+ * the response objects can be {@code null} if there is no incoming or
  * outgoing message currently being transferred.
  * <p>
  * Please note non-blocking HTTP connections are stateful and not thread safe.
@@ -69,9 +69,9 @@ public interface NHttpConnection extends
 
     /**
      * Returns the current HTTP request if one is being received / transmitted.
-     * Otherwise returns <code>null</code>.
+     * Otherwise returns {@code null}.
      *
-     * @return HTTP request, if available, <code>null</code> otherwise.
+     * @return HTTP request, if available, {@code null} otherwise.
      */
     HttpRequest getHttpRequest();
 
@@ -79,7 +79,7 @@ public interface NHttpConnection extends
      * Returns the current HTTP response if one is being received / transmitted.
      * Otherwise returns {@code null}.
      *
-     * @return HTTP response, if available, <code>null</code> otherwise.
+     * @return HTTP response, if available, {@code null} otherwise.
      */
     HttpResponse getHttpResponse();
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpMessageParser.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpMessageParser.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpMessageParser.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpMessageParser.java Thu Aug 21 15:09:04 2014
@@ -60,9 +60,9 @@ public interface NHttpMessageParser<T ex
     /**
      * Attempts to parse a complete message head from the content of the
      * internal buffer. If the message in the input buffer is incomplete
-     * this method will return <code>null</code>.
+     * this method will return {@code null}.
      *
-     * @return HTTP message head, if available, <code>null</code> otherwise.
+     * @return HTTP message head, if available, {@code null} otherwise.
      * @throws IOException in case of an I/O error.
      * @throws HttpException in case the HTTP message is malformed or
      *  violates the HTTP protocol.

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpServerConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpServerConnection.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpServerConnection.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpServerConnection.java Thu Aug 21 15:09:04 2014
@@ -53,11 +53,11 @@ public interface NHttpServerConnection e
     void submitResponse(HttpResponse response) throws IOException, HttpException;
 
     /**
-     * Returns <code>true</code> if an HTTP response has been submitted to the
+     * Returns {@code true} if an HTTP response has been submitted to the
      * client.
      *
-     * @return <code>true</code> if an HTTP response has been submitted,
-     * <code>false</code> otherwise.
+     * @return {@code true} if an HTTP response has been submitted,
+     * {@code false} otherwise.
      */
     boolean isResponseSubmitted();
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NFileEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NFileEntity.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NFileEntity.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/NFileEntity.java Thu Aug 21 15:09:04 2014
@@ -65,8 +65,8 @@ public class NFileEntity extends Abstrac
 
     /**
      * Creates new instance of NFileEntity from the given source {@link File}
-     * with the given content type. If <code>useFileChannels</code> is set to
-     * <code>true</code>, the entity will try to use {@link FileContentEncoder}
+     * with the given content type. If {@code useFileChannels} is set to
+     * {@code true}, the entity will try to use {@link FileContentEncoder}
      * interface to stream file content directly from the file channel.
      *
      * @param file the source file.

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncClientExchangeHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncClientExchangeHandler.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncClientExchangeHandler.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncClientExchangeHandler.java Thu Aug 21 15:09:04 2014
@@ -61,7 +61,7 @@ public interface HttpAsyncClientExchange
      * to enclose a content entity. The {@link #produceContent(ContentEncoder,
      * IOControl)} method will not be invoked if
      * {@link org.apache.http.HttpEntityEnclosingRequest#getEntity()} returns
-     * <code>null</code>.
+     * {@code null}.
      *
      * @return HTTP request message.
      * @throws HttpException in case of HTTP protocol violation

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExchange.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExchange.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExchange.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExchange.java Thu Aug 21 15:09:04 2014
@@ -78,8 +78,8 @@ public interface HttpAsyncExchange {
     /**
      * Determines whether or not the message exchange has been completed.
      *
-     * @return <code>true</code> if the message exchange has been completed,
-     * <code>false</code> otherwise.
+     * @return {@code true} if the message exchange has been completed,
+     * {@code false} otherwise.
      */
     boolean isCompleted();
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java Thu Aug 21 15:09:04 2014
@@ -94,7 +94,7 @@ public interface HttpAsyncRequestConsume
 
     /**
      * Returns an exception in case of an abnormal termination. This method
-     * returns <code>null</code> if the request execution is still ongoing
+     * returns {@code null} if the request execution is still ongoing
      * or if it completed successfully.
      *
      * @see #isDone()
@@ -103,7 +103,7 @@ public interface HttpAsyncRequestConsume
 
     /**
      * Returns a result of the request execution, when available. This method
-     * returns <code>null</code> if the request execution is still ongoing.
+     * returns {@code null} if the request execution is still ongoing.
      *
      * @see #isDone()
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestExecutor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestExecutor.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestExecutor.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestExecutor.java Thu Aug 21 15:09:04 2014
@@ -62,7 +62,7 @@ import org.apache.http.util.Asserts;
  * of HTTP message exchanges through the connection context using
  * {@link #HTTP_HANDLER} attribute. HTTP exchange sequence is considered
  * complete when the {@link HttpAsyncClientExchangeHandler#isDone()} method
- * returns <code>true</code>. The {@link HttpAsyncRequester} utility class can
+ * returns {@code true}. The {@link HttpAsyncRequester} utility class can
  * be used to facilitate initiation of asynchronous HTTP request execution.
  * <p/>
  * Individual {@code HttpAsyncClientExchangeHandler} are expected to make use of
@@ -89,7 +89,7 @@ public class HttpAsyncRequestExecutor im
     /**
      * Creates new instance of {@code HttpAsyncRequestExecutor}.
      * @param waitForContinue wait for continue time period.
-     * @param exceptionLogger Exception logger. If <code>null</code>
+     * @param exceptionLogger Exception logger. If {@code null}
      *   {@link ExceptionLogger#NO_OP} will be used. Please note that the exception
      *   logger will be only used to log I/O exception thrown while closing
      *   {@link java.io.Closeable} objects (such as {@link org.apache.http.HttpConnection}).

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerMapper.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerMapper.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerMapper.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerMapper.java Thu Aug 21 15:09:04 2014
@@ -42,7 +42,7 @@ public interface HttpAsyncRequestHandler
      * Looks up a handler matching the given request.
      *
      * @param request the request
-     * @return HTTP request handler or <code>null</code> if no match
+     * @return HTTP request handler or {@code null} if no match
      * is found.
      */
     HttpAsyncRequestHandler<?> lookup(HttpRequest request);

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerResolver.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerResolver.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerResolver.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerResolver.java Thu Aug 21 15:09:04 2014
@@ -43,7 +43,7 @@ public interface HttpAsyncRequestHandler
      * Looks up a handler matching the given request URI.
      *
      * @param requestURI the request URI
-     * @return HTTP request handler or <code>null</code> if no match
+     * @return HTTP request handler or {@code null} if no match
      * is found.
      */
     HttpAsyncRequestHandler<?> lookup(String requestURI);

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestProducer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestProducer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestProducer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestProducer.java Thu Aug 21 15:09:04 2014
@@ -62,7 +62,7 @@ public interface HttpAsyncRequestProduce
      * if it is to enclose a content entity. The {@link #produceContent(
      * ContentEncoder, IOControl)} method will not be invoked if
      * {@link org.apache.http.HttpEntityEnclosingRequest#getEntity()}
-     * returns <code>null</code>.
+     * returns {@code null}.
      *
      * @return HTTP request message.
      * @throws HttpException in case of HTTP protocol violation

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java Thu Aug 21 15:09:04 2014
@@ -80,9 +80,9 @@ public class HttpAsyncRequester {
     /**
      * Creates new instance of {@code HttpAsyncRequester}.
      * @param httpProcessor HTTP protocol processor.
-     * @param connStrategy Connection re-use strategy. If <code>null</code>
+     * @param connStrategy Connection re-use strategy. If {@code null}
      *   {@link DefaultConnectionReuseStrategy#INSTANCE} will be used.
-     * @param exceptionLogger Exception logger. If <code>null</code>
+     * @param exceptionLogger Exception logger. If {@code null}
      *   {@link ExceptionLogger#NO_OP} will be used. Please note that the exception
      *   logger will be only used to log I/O exception thrown while closing
      *   {@link java.io.Closeable} objects (such as {@link org.apache.http.HttpConnection}).

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java Thu Aug 21 15:09:04 2014
@@ -94,7 +94,7 @@ public interface HttpAsyncResponseConsum
 
     /**
      * Returns an exception in case of an abnormal termination. This method
-     * returns <code>null</code> if the response processing is still ongoing
+     * returns {@code null} if the response processing is still ongoing
      * or if it completed successfully.
      *
      * @see #isDone()
@@ -103,7 +103,7 @@ public interface HttpAsyncResponseConsum
 
     /**
      * Returns a result of the response processing, when available. This method
-     * returns <code>null</code> if the response processing is still ongoing.
+     * returns {@code null} if the response processing is still ongoing.
      *
      * @see #isDone()
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java Thu Aug 21 15:09:04 2014
@@ -167,12 +167,12 @@ public class HttpAsyncService implements
      * Creates new instance of {@code HttpAsyncServerProtocolHandler}.
      *
      * @param httpProcessor HTTP protocol processor.
-     * @param connStrategy Connection re-use strategy. If <code>null</code>
+     * @param connStrategy Connection re-use strategy. If {@code null}
      *   {@link DefaultConnectionReuseStrategy#INSTANCE} will be used.
-     * @param responseFactory HTTP response factory. If <code>null</code>
+     * @param responseFactory HTTP response factory. If {@code null}
      *   {@link DefaultHttpResponseFactory#INSTANCE} will be used.
      * @param handlerMapper Request handler mapper.
-     * @param expectationVerifier Request expectation verifier. May be <code>null</code>.
+     * @param expectationVerifier Request expectation verifier. May be {@code null}.
      *
      * @since 4.3
      */
@@ -189,13 +189,13 @@ public class HttpAsyncService implements
      * Creates new instance of {@code HttpAsyncServerProtocolHandler}.
      *
      * @param httpProcessor HTTP protocol processor.
-     * @param connStrategy Connection re-use strategy. If <code>null</code>
+     * @param connStrategy Connection re-use strategy. If {@code null}
      *   {@link DefaultConnectionReuseStrategy#INSTANCE} will be used.
-     * @param responseFactory HTTP response factory. If <code>null</code>
+     * @param responseFactory HTTP response factory. If {@code null}
      *   {@link DefaultHttpResponseFactory#INSTANCE} will be used.
      * @param handlerMapper Request handler mapper.
-     * @param expectationVerifier Request expectation verifier. May be <code>null</code>.
-     * @param exceptionLogger Exception logger. If <code>null</code>
+     * @param expectationVerifier Request expectation verifier. May be {@code null}.
+     * @param exceptionLogger Exception logger. If {@code null}
      *   {@link ExceptionLogger#NO_OP} will be used. Please note that the exception
      *   logger will be only used to log I/O exception thrown while closing
      *   {@link java.io.Closeable} objects (such as {@link org.apache.http.HttpConnection}).
@@ -239,7 +239,7 @@ public class HttpAsyncService implements
      *
      * @param httpProcessor HTTP protocol processor.
      * @param handlerMapper Request handler mapper.
-     * @param exceptionLogger Exception logger. If <code>null</code>
+     * @param exceptionLogger Exception logger. If {@code null}
      *   {@link ExceptionLogger#NO_OP} will be used. Please note that the exception
      *   logger will be only used to log I/O exception thrown while closing
      *   {@link java.io.Closeable} objects (such as {@link org.apache.http.HttpConnection}).

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/UriHttpAsyncRequestHandlerMapper.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/UriHttpAsyncRequestHandlerMapper.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/UriHttpAsyncRequestHandlerMapper.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/UriHttpAsyncRequestHandlerMapper.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 map an instance of {@link HttpAsyncRequestHandler}
@@ -103,7 +103,7 @@ public class UriHttpAsyncRequestHandlerM
      * Looks up a handler matching the given request URI.
      *
      * @param request the request
-     * @return handler or <code>null</code> if no match is found.
+     * @return handler or {@code null} if no match is found.
      */
     @Override
     public HttpAsyncRequestHandler<?> lookup(final HttpRequest request) {

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ConnectingIOReactor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ConnectingIOReactor.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ConnectingIOReactor.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ConnectingIOReactor.java Thu Aug 21 15:09:04 2014
@@ -63,10 +63,10 @@ public interface ConnectingIOReactor ext
      * timeout.
      *
      * @param remoteAddress the socket address of the remote host.
-     * @param localAddress the local socket address. Can be <code>null</code>,
+     * @param localAddress the local socket address. Can be {@code null},
      *    in which can the default local address and a random port will be used.
-     * @param attachment the attachment object. Can be <code>null</code>.
-     * @param callback interface. Can be <code>null</code>.
+     * @param attachment the attachment object. Can be {@code null}.
+     * @param callback interface. Can be {@code null}.
      * @return session request object.
      */
     SessionRequest connect(

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/IOReactorExceptionHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/IOReactorExceptionHandler.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/IOReactorExceptionHandler.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/IOReactorExceptionHandler.java Thu Aug 21 15:09:04 2014
@@ -43,8 +43,8 @@ public interface IOReactorExceptionHandl
      * the I/O reactor.
      *
      * @param ex potentially recoverable I/O exception
-     * @return <code>true</code> if it is safe to ignore the exception
-     * and continue execution of the I/O reactor; <code>false</code> if the
+     * @return {@code true} if it is safe to ignore the exception
+     * and continue execution of the I/O reactor; {@code false} if the
      * I/O reactor must throw {@link IOReactorException} and terminate
      */
     boolean handle(IOException ex);
@@ -55,8 +55,8 @@ public interface IOReactorExceptionHandl
      * the I/O reactor.
      *
      * @param ex potentially recoverable runtime exception
-     * @return <code>true</code> if it is safe to ignore the exception
-     * and continue execution of the I/O reactor; <code>false</code> if the
+     * @return {@code true} if it is safe to ignore the exception
+     * and continue execution of the I/O reactor; {@code false} if the
      * I/O reactor must throw {@link RuntimeException} and terminate
      */
     boolean handle(RuntimeException ex);

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/IOSession.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/IOSession.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/IOSession.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/IOSession.java Thu Aug 21 15:09:04 2014
@@ -138,14 +138,14 @@ public interface IOSession {
     /**
      * Determines if the session has been terminated.
      *
-     * @return <code>true</code> if the session has been terminated,
-     *   <code>false</code> otherwise.
+     * @return {@code true} if the session has been terminated,
+     *   {@code false} otherwise.
      */
     boolean isClosed();
 
     /**
      * Returns value of the socket timeout in milliseconds. The value of
-     * <code>0</code> signifies the session cannot time out.
+     * {@code 0} signifies the session cannot time out.
      *
      * @return socket timeout.
      */
@@ -153,7 +153,7 @@ public interface IOSession {
 
     /**
      * Sets value of the socket timeout in milliseconds. The value of
-     * <code>0</code> signifies the session cannot time out.
+     * {@code 0} signifies the session cannot time out.
      *
      * @param timeout socket timeout.
      */
@@ -180,8 +180,8 @@ public interface IOSession {
     /**
      * Determines if the input buffer associated with the session contains data.
      *
-     * @return <code>true</code> if the session input buffer contains data,
-     *   <code>false</code> otherwise.
+     * @return {@code true} if the session input buffer contains data,
+     *   {@code false} otherwise.
      */
     boolean hasBufferedInput();
 
@@ -189,8 +189,8 @@ public interface IOSession {
      * Determines if the output buffer associated with the session contains
      * data.
      *
-     * @return <code>true</code> if the session output buffer contains data,
-     *   <code>false</code> otherwise.
+     * @return {@code true} if the session output buffer contains data,
+     *   {@code false} otherwise.
      */
     boolean hasBufferedOutput();
 
@@ -209,7 +209,7 @@ public interface IOSession {
 
     /**
      * Returns the value of the attribute with the given name. The value can be
-     * <code>null</code> if not set.
+     * {@code null} if not set.
      * <p>
      * The value of the session attachment object can be obtained using
      * {@link #ATTACHMENT_KEY} name.

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ListenerEndpoint.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ListenerEndpoint.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ListenerEndpoint.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ListenerEndpoint.java Thu Aug 21 15:09:04 2014
@@ -47,9 +47,9 @@ public interface ListenerEndpoint {
 
     /**
      * Returns an instance of {@link IOException} thrown during initialization
-     * of this endpoint or <code>null</code>, if initialization was successful.
+     * of this endpoint or {@code null}, if initialization was successful.
      *
-     * @return I/O exception object or <code>null</code>.
+     * @return I/O exception object or {@code null}.
      */
     IOException getException();
 
@@ -65,8 +65,8 @@ public interface ListenerEndpoint {
      * Determines if this endpoint has been closed and is no longer listens
      * for incoming connections.
      *
-     * @return <code>true</code> if the endpoint has been closed,
-     *   <code>false</code> otherwise.
+     * @return {@code true} if the endpoint has been closed,
+     *   {@code false} otherwise.
      */
     boolean isClosed();
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionBufferStatus.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionBufferStatus.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionBufferStatus.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionBufferStatus.java Thu Aug 21 15:09:04 2014
@@ -37,16 +37,16 @@ public interface SessionBufferStatus {
     /**
      * Determines if the session input buffer contains data.
      *
-     * @return <code>true</code> if the session input buffer contains data,
-     *   <code>false</code> otherwise.
+     * @return {@code true} if the session input buffer contains data,
+     *   {@code false} otherwise.
      */
     boolean hasBufferedInput();
 
     /**
      * Determines if the session output buffer contains data.
      *
-     * @return <code>true</code> if the session output buffer contains data,
-     *   <code>false</code> otherwise.
+     * @return {@code true} if the session output buffer contains data,
+     *   {@code false} otherwise.
      */
     boolean hasBufferedOutput();
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionInputBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionInputBuffer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionInputBuffer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionInputBuffer.java Thu Aug 21 15:09:04 2014
@@ -49,8 +49,8 @@ public interface SessionInputBuffer {
     /**
      * Determines if the buffer contains data.
      *
-     * @return <code>true</code> if there is data in the buffer,
-     *   <code>false</code> otherwise.
+     * @return {@code true} if there is data in the buffer,
+     *   {@code false} otherwise.
      */
     boolean hasData();
 
@@ -85,7 +85,7 @@ public interface SessionInputBuffer {
      * Reads a sequence of bytes from this buffer into the destination buffer,
      * up to the given maximum limit. The exact number of bytes transferred
      * depends on availability of data in this buffer and capacity of the
-     * destination buffer, but cannot be more than <code>maxLen</code> value.
+     * destination buffer, but cannot be more than {@code maxLen} value.
      *
      * @param dst the destination buffer.
      * @param maxLen the maximum number of bytes to be read.
@@ -107,7 +107,7 @@ public interface SessionInputBuffer {
      * Reads a sequence of bytes from this buffer into the destination channel,
      * up to the given maximum limit. The exact number of bytes transferred
      * depends on availability of data in this buffer, but cannot be more than
-     * <code>maxLen</code> value.
+     * {@code maxLen} value.
      *
      * @param dst the destination channel.
      * @param maxLen the maximum number of bytes to be read.
@@ -131,11 +131,11 @@ public interface SessionInputBuffer {
      * Attempts to transfer a complete line of characters up to a line delimiter
      * from this buffer to the destination buffer. If a complete line is
      * available in the buffer, the sequence of chars is transferred to the
-     * destination buffer the method returns <code>true</code>. The line
+     * destination buffer the method returns {@code true}. The line
      * delimiter itself is discarded. If a complete line is not available in
-     * the buffer, this method returns <code>false</code> without transferring
-     * anything to the destination buffer. If <code>endOfStream</code> parameter
-     * is set to <code>true</code> this method assumes the end of stream has
+     * the buffer, this method returns {@code false} without transferring
+     * anything to the destination buffer. If {@code endOfStream} parameter
+     * is set to {@code true} this method assumes the end of stream has
      * been reached and the content currently stored in the buffer should be
      * treated as a complete line.
      * <p>
@@ -144,8 +144,8 @@ public interface SessionInputBuffer {
      *
      * @param dst the destination buffer.
      * @param endOfStream end of stream flag
-     * @return <code>true</code> if a sequence of chars representing a complete
-     *  line has been transferred to the destination buffer, <code>false</code>
+     * @return {@code true} if a sequence of chars representing a complete
+     *  line has been transferred to the destination buffer, {@code false}
      *  otherwise.
      *
      * @throws CharacterCodingException in case a character encoding or decoding
@@ -160,8 +160,8 @@ public interface SessionInputBuffer {
      * available in the buffer, the sequence of chars is transferred to a newly
      * created string. The line delimiter itself is discarded. If a complete
      * line is not available in the buffer, this method returns
-     * <code>null</code>. If <code>endOfStream</code> parameter
-     * is set to <code>true</code> this method assumes the end of stream has
+     * {@code null}. If {@code endOfStream} parameter
+     * is set to {@code true} this method assumes the end of stream has
      * been reached and the content currently stored in the buffer should be
      * treated as a complete line.
      * <p>
@@ -170,7 +170,7 @@ public interface SessionInputBuffer {
      *
      * @param endOfStream end of stream flag
      * @return a string representing a complete line, if available.
-     * <code>null</code> otherwise.
+     * {@code null} otherwise.
      *
      * @throws CharacterCodingException in case a character encoding or decoding
      *   error occurs.

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionOutputBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionOutputBuffer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionOutputBuffer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionOutputBuffer.java Thu Aug 21 15:09:04 2014
@@ -49,8 +49,8 @@ public interface SessionOutputBuffer {
     /**
      * Determines if the buffer contains data.
      *
-     * @return <code>true</code> if there is data in the buffer,
-     *   <code>false</code> otherwise.
+     * @return {@code true} if there is data in the buffer,
+     *   {@code false} otherwise.
      */
     boolean hasData();
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionRequest.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionRequest.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionRequest.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionRequest.java Thu Aug 21 15:09:04 2014
@@ -75,18 +75,18 @@ public interface SessionRequest {
 
     /**
      * Returns {@link IOSession} instance created as a result of this request
-     * or <code>null</code> if the request is still pending.
+     * or {@code null} if the request is still pending.
      *
-     * @return I/O session or <code>null</code> if the request is still pending.
+     * @return I/O session or {@code null} if the request is still pending.
      */
     IOSession getSession();
 
     /**
      * Returns {@link IOException} instance if the request could not be
-     * successfully executed due to an I/O error or <code>null</code> if no
+     * successfully executed due to an I/O error or {@code null} if no
      * error occurred to this point.
      *
-     * @return I/O exception or <code>null</code> if no error occurred to
+     * @return I/O exception or {@code null} if no error occurred to
      * this point.
      */
     IOException getException();

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SocketAccessor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SocketAccessor.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SocketAccessor.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SocketAccessor.java Thu Aug 21 15:09:04 2014
@@ -39,7 +39,7 @@ public interface SocketAccessor {
     /**
      * Return the underlying socket
      *
-     * @return - the underlying Socket, may be <code>null</code>.
+     * @return - the underlying Socket, may be {@code null}.
      */
     Socket getSocket();
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java Thu Aug 21 15:09:04 2014
@@ -104,7 +104,7 @@ public class SSLIOSession implements IOS
      * @param sslMode SSL mode (client or server)
      * @param host original host (applicable in client mode only)
      * @param sslContext SSL context to use for this I/O session.
-     * @param handler optional SSL setup handler. May be <code>null</code>.
+     * @param handler optional SSL setup handler. May be {@code null}.
      *
      * @since 4.4
      */
@@ -124,7 +124,7 @@ public class SSLIOSession implements IOS
      * @param sslMode SSL mode (client or server)
      * @param host original host (applicable in client mode only)
      * @param sslContext SSL context to use for this I/O session.
-     * @param handler optional SSL setup handler. May be <code>null</code>.
+     * @param handler optional SSL setup handler. May be {@code null}.
      * @param bufferManagementStrategy buffer management strategy
      */
     public SSLIOSession(
@@ -170,7 +170,7 @@ public class SSLIOSession implements IOS
      * @param session I/O session to be decorated with the TLS/SSL capabilities.
      * @param sslMode SSL mode (client or server)
      * @param sslContext SSL context to use for this I/O session.
-     * @param handler optional SSL setup handler. May be <code>null</code>.
+     * @param handler optional SSL setup handler. May be {@code null}.
      */
     public SSLIOSession(
             final IOSession session,
@@ -185,8 +185,8 @@ public class SSLIOSession implements IOS
     }
 
     /**
-     * Returns <code>true</code> is the session has been fully initialized,
-     * <code>false</code> otherwise.
+     * Returns {@code true} is the session has been fully initialized,
+     * {@code false} otherwise.
      */
     public boolean isInitialized() {
         return this.initialized;

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ContentInputBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ContentInputBuffer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ContentInputBuffer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ContentInputBuffer.java Thu Aug 21 15:09:04 2014
@@ -57,23 +57,23 @@ public interface ContentInputBuffer {
     void reset();
 
     /**
-     * Reads up to <code>len</code> bytes of data from this buffer into
+     * Reads up to {@code len} bytes of data from this buffer into
      * an array of bytes. The exact number of bytes read depends how many bytes
      * are stored in the 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>, this method can throw a runtime exception. The exact type
+     * <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}, this method can throw a runtime exception. The exact type
      * of runtime exception thrown by this method depends on implementation.
-     * This method returns <code>-1</code> if the end of content stream has been
+     * This method returns {@code -1} if the end of content stream has been
      * reached.
      *
      * @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.
      */
@@ -83,7 +83,7 @@ public interface ContentInputBuffer {
      * Reads one byte from this buffer. If the buffer is empty this method can
      * throw a runtime exception. The exact type of runtime exception thrown
      * by this method depends on implementation. This method returns
-     * <code>-1</code> if the end of content stream has been reached.
+     * {@code -1} if the end of content stream has been reached.
      *
      * @return one byte
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ContentOutputBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ContentOutputBuffer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ContentOutputBuffer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ContentOutputBuffer.java Thu Aug 21 15:09:04 2014
@@ -62,12 +62,12 @@ public interface ContentOutputBuffer {
     void flush() throws IOException;
 
     /**
-     * Writes <code>len</code> bytes from the specified byte array
-     * starting at offset <code>off</code> to this buffer.
+     * Writes {@code len} bytes from the specified byte array
+     * starting at offset {@code off} to this 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>, this method can throw a runtime exception. The exact type
+     * If {@code off} is negative, or {@code len} is negative, or
+     * {@code off+len} is greater than the length of the array
+     * {@code b}, this method can throw a runtime exception. The exact type
      * of runtime exception thrown by this method depends on implementation.
      *
      * @param      b     the data.
@@ -80,7 +80,7 @@ public interface ContentOutputBuffer {
     /**
      * Writes the specified byte to this 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;

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ExpandableBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ExpandableBuffer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ExpandableBuffer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/util/ExpandableBuffer.java Thu Aug 21 15:09:04 2014
@@ -145,8 +145,8 @@ public class ExpandableBuffer implements
     /**
      * Determines if the buffer contains data.
      *
-     * @return <code>true</code> if there is data in the buffer,
-     *   <code>false</code> otherwise.
+     * @return {@code true} if there is data in the buffer,
+     *   {@code false} otherwise.
      */
     public boolean hasData() {
         setOutputMode();

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/SocketHttpClientConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/SocketHttpClientConnection.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/SocketHttpClientConnection.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/SocketHttpClientConnection.java Thu Aug 21 15:09:04 2014
@@ -131,7 +131,7 @@ public class SocketHttpClientConnection
      * parser and formatter.
      * <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.
      * @param params HTTP parameters.

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/SocketHttpServerConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/SocketHttpServerConnection.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/SocketHttpServerConnection.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/SocketHttpServerConnection.java Thu Aug 21 15:09:04 2014
@@ -120,7 +120,7 @@ public class SocketHttpServerConnection 
      * parser and formatter.
      * <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.
      * @param params HTTP parameters.

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/AbstractSessionInputBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/AbstractSessionInputBuffer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/AbstractSessionInputBuffer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/AbstractSessionInputBuffer.java Thu Aug 21 15:09:04 2014
@@ -236,7 +236,7 @@ public abstract class AbstractSessionInp
      * 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
@@ -290,7 +290,7 @@ public abstract class AbstractSessionInp
      * 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-deprecated/org/apache/http/impl/io/SocketInputBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/SocketInputBuffer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/SocketInputBuffer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/SocketInputBuffer.java Thu Aug 21 15:09:04 2014
@@ -56,9 +56,9 @@ public class SocketInputBuffer extends A
      *
      * @param socket the socket to read data from.
      * @param buffersize the size of the internal buffer. If this number is less
-     *   than <code>0</code> it is set to the value of
+     *   than {@code 0} it is set to the value of
      *   {@link Socket#getReceiveBufferSize()}. If resultant number is less
-     *   than <code>1024</code> it is set to <code>1024</code>.
+     *   than {@code 1024} it is set to {@code 1024}.
      * @param params HTTP parameters.
      */
     public SocketInputBuffer(

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/SocketOutputBuffer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/SocketOutputBuffer.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/SocketOutputBuffer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/impl/io/SocketOutputBuffer.java Thu Aug 21 15:09:04 2014
@@ -51,9 +51,9 @@ public class SocketOutputBuffer extends 
      *
      * @param socket the socket to write data to.
      * @param buffersize the size of the internal buffer. If this number is less
-     *   than <code>0</code> it is set to the value of
+     *   than {@code 0} it is set to the value of
      *   {@link Socket#getSendBufferSize()}. If resultant number is less
-     *   than <code>1024</code> it is set to <code>1024</code>.
+     *   than {@code 1024} it is set to {@code 1024}.
      * @param params HTTP parameters.
      */
     public SocketOutputBuffer(

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/params/HttpConnectionParams.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/params/HttpConnectionParams.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/params/HttpConnectionParams.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/params/HttpConnectionParams.java Thu Aug 21 15:09:04 2014
@@ -46,7 +46,7 @@ public final class HttpConnectionParams 
 
     /**
      * Obtains value of the {@link CoreConnectionPNames#SO_TIMEOUT} parameter.
-     * If not set, defaults to <code>0</code>.
+     * If not set, defaults to {@code 0}.
      *
      * @param params HTTP parameters.
      * @return SO_TIMEOUT.
@@ -70,7 +70,7 @@ public final class HttpConnectionParams 
 
     /**
      * Obtains value of the {@link CoreConnectionPNames#SO_REUSEADDR} parameter.
-     * If not set, defaults to <code>false</code>.
+     * If not set, defaults to {@code false}.
      *
      * @param params HTTP parameters.
      * @return SO_REUSEADDR.
@@ -97,7 +97,7 @@ public final class HttpConnectionParams 
 
     /**
      * Obtains value of the {@link CoreConnectionPNames#TCP_NODELAY} parameter.
-     * If not set, defaults to <code>true</code>.
+     * If not set, defaults to {@code true}.
      *
      * @param params HTTP parameters.
      * @return Nagle's algorithm flag
@@ -120,7 +120,7 @@ public final class HttpConnectionParams 
 
     /**
      * Obtains value of the {@link CoreConnectionPNames#SOCKET_BUFFER_SIZE}
-     * parameter. If not set, defaults to <code>-1</code>.
+     * parameter. If not set, defaults to {@code -1}.
      *
      * @param params HTTP parameters.
      * @return socket buffer size
@@ -144,7 +144,7 @@ public final class HttpConnectionParams 
 
     /**
      * Obtains value of the {@link CoreConnectionPNames#SO_LINGER} parameter.
-     * If not set, defaults to <code>-1</code>.
+     * If not set, defaults to {@code -1}.
      *
      * @param params HTTP parameters.
      * @return SO_LINGER.
@@ -167,7 +167,7 @@ public final class HttpConnectionParams 
 
     /**
      * Obtains value of the {@link CoreConnectionPNames#CONNECTION_TIMEOUT}
-     * parameter. If not set, defaults to <code>0</code>.
+     * parameter. If not set, defaults to {@code 0}.
      *
      * @param params HTTP parameters.
      * @return connect timeout.
@@ -191,7 +191,7 @@ public final class HttpConnectionParams 
 
     /**
      * Obtains value of the {@link CoreConnectionPNames#STALE_CONNECTION_CHECK}
-     * parameter. If not set, defaults to <code>true</code>.
+     * parameter. If not set, defaults to {@code true}.
      *
      * @param params HTTP parameters.
      * @return stale connection check flag.
@@ -215,7 +215,7 @@ public final class HttpConnectionParams 
 
     /**
      * Obtains value of the {@link CoreConnectionPNames#SO_KEEPALIVE} parameter.
-     * If not set, defaults to <code>false</code>.
+     * If not set, defaults to {@code false}.
      *
      * @param params HTTP parameters.
      * @return SO_KEEPALIVE.

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/params/HttpProtocolParams.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/params/HttpProtocolParams.java?rev=1619429&r1=1619428&r2=1619429&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/params/HttpProtocolParams.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/params/HttpProtocolParams.java Thu Aug 21 15:09:04 2014
@@ -51,7 +51,7 @@ public final class HttpProtocolParams im
 
     /**
      * Obtains value of the {@link CoreProtocolPNames#HTTP_ELEMENT_CHARSET} parameter.
-     * If not set, defaults to <code>US-ASCII</code>.
+     * If not set, defaults to {@code US-ASCII}.
      *
      * @param params HTTP parameters.
      * @return HTTP element charset.
@@ -79,7 +79,7 @@ public final class HttpProtocolParams im
 
     /**
      * Obtains value of the {@link CoreProtocolPNames#HTTP_CONTENT_CHARSET} parameter.
-     * If not set, defaults to <code>ISO-8859-1</code>.
+     * If not set, defaults to {@code ISO-8859-1}.
      *
      * @param params HTTP parameters.
      * @return HTTP content charset.
@@ -135,7 +135,7 @@ public final class HttpProtocolParams im
 
     /**
      * Obtains value of the {@link CoreProtocolPNames#USER_AGENT} parameter.
-     * If not set, returns <code>null</code>.
+     * If not set, returns {@code null}.
      *
      * @param params HTTP parameters.
      * @return User agent string.
@@ -158,7 +158,7 @@ public final class HttpProtocolParams im
 
     /**
      * Obtains value of the {@link CoreProtocolPNames#USE_EXPECT_CONTINUE} parameter.
-     * If not set, returns <code>false</code>.
+     * If not set, returns {@code false}.
      *
      * @param params HTTP parameters.
      * @return User agent string.