hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1621234 - in /httpcomponents: httpasyncclient/trunk/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/ httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/client/methods/ httpasyncclient/trunk/htt...
Date Fri, 29 Aug 2014 00:16:18 GMT
Author: sebb
Date: Fri Aug 29 00:16:17 2014
New Revision: 1621234

URL: http://svn.apache.org/r1621234
Log:
<code> => {@code }

Modified:
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/AsyncSchemeRegistry.java
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/client/methods/HttpAsyncMethods.java
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/conn/SchemeIOSessionStrategy.java
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/HttpRequestExecutionHandler.java
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/NHttpRequestExecutionHandler.java
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionRequest.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java-deprecated/org/apache/http/util/ExceptionUtils.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/ResponseDate.java

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/AsyncSchemeRegistry.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/AsyncSchemeRegistry.java?rev=1621234&r1=1621233&r2=1621234&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/AsyncSchemeRegistry.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java-deprecated/org/apache/http/nio/conn/scheme/AsyncSchemeRegistry.java
Fri Aug 29 00:16:17 2014
@@ -73,7 +73,7 @@ public final class AsyncSchemeRegistry {
 
     /**
      * Obtains the scheme for a host.
-     * Convenience method for <code>getScheme(host.getSchemeName())</pre>
+     * Convenience method for {@code getScheme(host.getSchemeName())}
      *
      * @param host      the host for which to obtain the scheme
      *

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/client/methods/HttpAsyncMethods.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/client/methods/HttpAsyncMethods.java?rev=1621234&r1=1621233&r2=1621234&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/client/methods/HttpAsyncMethods.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/client/methods/HttpAsyncMethods.java
Fri Aug 29 00:16:17 2014
@@ -86,7 +86,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>GET</code> request generator.
+     * Creates asynchronous {@code GET} request generator.
      *
      * @param requestURI request URI.
      * @return asynchronous request generator
@@ -96,7 +96,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>GET</code> request generator.
+     * Creates asynchronous {@code GET} request generator.
      *
      * @param requestURI request URI.
      * @return asynchronous request generator
@@ -106,7 +106,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>HEAD</code> request generator.
+     * Creates asynchronous {@code HEAD} request generator.
      *
      * @param requestURI request URI.
      * @return asynchronous request generator
@@ -116,7 +116,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>HEAD</code> request generator.
+     * Creates asynchronous {@code HEAD} request generator.
      *
      * @param requestURI request URI.
      * @return asynchronous request generator
@@ -126,7 +126,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>DELETE</code> request generator.
+     * Creates asynchronous {@code DELETE} request generator.
      *
      * @param requestURI request URI.
      * @return asynchronous request generator
@@ -136,7 +136,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>DELETE</code> request generator.
+     * Creates asynchronous {@code DELETE} request generator.
      *
      * @param requestURI request URI.
      * @return asynchronous request generator
@@ -146,7 +146,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>OPTIONS</code> request generator.
+     * Creates asynchronous {@code OPTIONS} request generator.
      *
      * @param requestURI request URI.
      * @return asynchronous request generator
@@ -156,7 +156,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>OPTIONS</code> request generator.
+     * Creates asynchronous {@code OPTIONS} request generator.
      *
      * @param requestURI request URI.
      * @return asynchronous request generator
@@ -166,7 +166,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>TRACE</code> request generator.
+     * Creates asynchronous {@code TRACE} request generator.
      *
      * @param requestURI request URI.
      * @return asynchronous request generator
@@ -176,7 +176,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>TRACE</code> request generator.
+     * Creates asynchronous {@code TRACE} request generator.
      *
      * @param requestURI request URI.
      * @return asynchronous request generator
@@ -186,7 +186,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>POST</code> request generator.
+     * Creates asynchronous {@code POST} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -205,7 +205,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>POST</code> request generator.
+     * Creates asynchronous {@code POST} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -220,7 +220,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>POST</code> request generator.
+     * Creates asynchronous {@code POST} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -238,7 +238,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>POST</code> request generator.
+     * Creates asynchronous {@code POST} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -253,7 +253,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>PUT</code> request generator.
+     * Creates asynchronous {@code PUT} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -272,7 +272,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>PUT</code> request generator.
+     * Creates asynchronous {@code PUT} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -287,7 +287,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>PUT</code> request generator.
+     * Creates asynchronous {@code PUT} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -305,7 +305,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous <code>PUT</code> request generator.
+     * Creates asynchronous {@code PUT} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -320,7 +320,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous zero-copy <code>POST</code>request generator.
+     * Creates asynchronous zero-copy {@code POST} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -335,7 +335,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous zero-copy <code>POST</code>request generator.
+     * Creates asynchronous zero-copy {@code POST} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -350,7 +350,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous zero-copy <code>PUT</code>request generator.
+     * Creates asynchronous zero-copy {@code PUT} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.
@@ -365,7 +365,7 @@ public final class HttpAsyncMethods {
     }
 
     /**
-     * Creates asynchronous zero-copy <code>PUT</code>request generator.
+     * Creates asynchronous zero-copy {@code PUT} request generator.
      *
      * @param requestURI request URI.
      * @param content request content.

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/conn/SchemeIOSessionStrategy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/conn/SchemeIOSessionStrategy.java?rev=1621234&r1=1621233&r2=1621234&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/conn/SchemeIOSessionStrategy.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/nio/conn/SchemeIOSessionStrategy.java
Fri Aug 29 00:16:17 2014
@@ -43,7 +43,7 @@ public interface SchemeIOSessionStrategy
 
     /**
      * Determines whether or not protocol layering is required. If this method
-     * returns <code>false</code> the {@link #upgrade(org.apache.http.HttpHost,
+     * returns {@code false} the {@link #upgrade(org.apache.http.HttpHost,
      * org.apache.http.nio.reactor.IOSession) upgrade} method  is expected
      * to have no effect and should not be called.
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/HttpRequestExecutionHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/HttpRequestExecutionHandler.java?rev=1621234&r1=1621233&r2=1621234&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/HttpRequestExecutionHandler.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/HttpRequestExecutionHandler.java
Fri Aug 29 00:16:17 2014
@@ -65,12 +65,12 @@ public interface HttpRequestExecutionHan
     /**
      * Triggered when the underlying connection is ready to send a new
      * HTTP request to the target host. This method may return
-     * <code>null</code> if the client is not yet ready to send a
+     * {@code null} if the client is not yet ready to send a
      * request. In this case the connection will remain open and
      * can be activated at a later point.
      *
      * @param context the actual HTTP context
-     * @return an HTTP request to be sent or <code>null</code> if no
+     * @return an HTTP request to be sent or {@code null} if no
      *   request needs to be sent
      */
     HttpRequest submitRequest(HttpContext context);

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/NHttpRequestExecutionHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/NHttpRequestExecutionHandler.java?rev=1621234&r1=1621233&r2=1621234&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/NHttpRequestExecutionHandler.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/NHttpRequestExecutionHandler.java
Fri Aug 29 00:16:17 2014
@@ -70,7 +70,7 @@ public interface NHttpRequestExecutionHa
     /**
      * Triggered when the underlying connection is ready to send a new
      * HTTP request to the target host. This method may return
-     * <code>null</code> if the client is not yet ready to send a
+     * {@code null} if the client is not yet ready to send a
      * request. In this case the connection will remain open and
      * can be activated at a later point.
      * <p>
@@ -78,7 +78,7 @@ public interface NHttpRequestExecutionHa
      * instance of {@link org.apache.http.nio.entity.ProducingNHttpEntity}.
      *
      * @param context the actual HTTP context
-     * @return an HTTP request to be sent or <code>null</code> if no
+     * @return an HTTP request to be sent or {@code null} if no
      *   request needs to be sent
      */
     HttpRequest submitRequest(HttpContext context);

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=1621234&r1=1621233&r2=1621234&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
Fri Aug 29 00:16:17 2014
@@ -68,8 +68,8 @@ public interface SessionRequest {
      * Determines whether the request has been completed (either successfully
      * or unsuccessfully).
      *
-     * @return <code>true</code> if the request has been completed,
-     *  <code>false</code> if still pending.
+     * @return {@code true} if the request has been completed,
+     *  {@code false} if still pending.
      */
     boolean isCompleted();
 

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=1621234&r1=1621233&r2=1621234&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
Fri Aug 29 00:16:17 2014
@@ -43,12 +43,12 @@ public final class ExceptionUtils {
     static private final Method INIT_CAUSE_METHOD = getInitCauseMethod();
 
     /**
-     * Returns a <code>Method<code> allowing access to
+     * Returns a {@code Method} allowing access to
      * {@link Throwable#initCause(Throwable) initCause} method of {@link Throwable},
      * or {@code null} if the method
      * does not exist.
      *
-     * @return A {@code Method<code> for <code>Throwable.initCause}, or
+     * @return A {@code Method} for {@code Throwable.initCause}, or
      * {@code null} if unavailable.
      */
     static private Method getInitCauseMethod() {

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/ResponseDate.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/ResponseDate.java?rev=1621234&r1=1621233&r2=1621234&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/ResponseDate.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/protocol/ResponseDate.java
Fri Aug 29 00:16:17 2014
@@ -37,7 +37,7 @@ import org.apache.http.annotation.Thread
 import org.apache.http.util.Args;
 
 /**
- * ResponseDate is responsible for adding <code>Date</code> header to the
+ * ResponseDate is responsible for adding {@code Date} header to the
  * outgoing responses. This interceptor is recommended for server side protocol
  * processors.
  *



Mime
View raw message