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/06/19 17:45:43 UTC
svn commit: r1603933 [1/2] - in /httpcomponents:
contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/
httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/
httpasyncclient/trunk/httpasyncclient/src/main/java/...
Author: ggregory
Date: Thu Jun 19 15:45:42 2014
New Revision: 1603933
URL: http://svn.apache.org/r1603933
Log:
Javadoc fixes for Java 8. Replace "<tt>Foo</tt>" with "{@code Foo}".
Modified:
httpcomponents/contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/SipException.java
httpcomponents/contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/SipStatus.java
httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClientBuilder.java
httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingNHttpClientConnectionManager.java
httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/auth/NegotiateScheme.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthScheme.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthScope.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthenticationException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/InvalidCredentialsException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/MalformedChallengeException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/CircularRedirectException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/NonRepeatableRequestException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/RedirectException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ConnectTimeoutException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ConnectionPoolTimeoutException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/ClientCookie.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/Cookie.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieAttributeHandler.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookiePathComparator.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieRestrictionViolationException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpec.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/MalformedCookieException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/SetCookie.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/SetCookie2.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/AuthSchemeBase.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/BasicScheme.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/KerberosScheme.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/NTLMEngineException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/RFC2617Scheme.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/SPNegoScheme.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultRedirectStrategy.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/RedirectLocations.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/ConnectionShutdownException.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/AbstractCookieSpec.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/BasicClientCookie.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/NetscapeDraftSpec.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.java
httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.java
httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/cookie/TestCookieRFC2965Spec.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java-deprecated/org/apache/http/nio/protocol/HttpAsyncRequestExecutionHandler.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/bootstrap/ServerBootstrap.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/NHttpConnection.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/entity/HttpAsyncContentProducer.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncClientExchangeHandler.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExchange.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncExpectationVerifier.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestExecutor.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandler.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerMapper.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestHandlerResolver.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestProducer.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequester.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseProducer.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/SessionInputBuffer.java
httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java
Modified: httpcomponents/contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/SipException.java
URL: http://svn.apache.org/viewvc/httpcomponents/contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/SipException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/SipException.java (original)
+++ httpcomponents/contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/SipException.java Thu Jun 19 15:45:42 2014
@@ -43,7 +43,7 @@ public class SipException extends HttpEx
private static final long serialVersionUID = 337592534308025800L;
/**
- * Creates a new SipException with a <tt>null</tt> detail message.
+ * Creates a new SipException with a {@code null} detail message.
*/
public SipException() {
super();
@@ -62,9 +62,9 @@ public class SipException extends HttpEx
* Creates a new SipException with the specified detail message and cause.
*
* @param message the exception detail message
- * @param cause the <tt>Throwable</tt> that caused this exception, or
- * <tt>null</tt> if the cause is unavailable, unknown, or
- * not a <tt>Throwable</tt>
+ * @param cause the {@code Throwable} that caused this exception, or
+ * {@code null} if the cause is unavailable, unknown, or
+ * not a {@code Throwable}
*/
public SipException(final String message, final Throwable cause) {
super(message, cause);
Modified: httpcomponents/contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/SipStatus.java
URL: http://svn.apache.org/viewvc/httpcomponents/contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/SipStatus.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/SipStatus.java (original)
+++ httpcomponents/contrib/httpcore/trunk/src/main/java/org/apache/http/contrib/sip/SipStatus.java Thu Jun 19 15:45:42 2014
@@ -46,216 +46,216 @@ public interface SipStatus {
// --- 1xx Informational ---
- /** <tt>100 Trying</tt>. RFC 3261, section 21.1.1. */
+ /** {@code 100 Trying}. RFC 3261, section 21.1.1. */
public static final int SC_CONTINUE = 100;
- /** <tt>180 Ringing</tt>. RFC 3261, section 21.1.2. */
+ /** {@code 180 Ringing}. RFC 3261, section 21.1.2. */
public static final int SC_RINGING = 180;
- /** <tt>181 Call Is Being Forwarded</tt>. RFC 3261, section 21.1.3. */
+ /** {@code 181 Call Is Being Forwarded}. RFC 3261, section 21.1.3. */
public static final int SC_CALL_IS_BEING_FORWARDED = 181;
- /** <tt>182 Queued</tt>. RFC 3261, section 21.1.4. */
+ /** {@code 182 Queued}. RFC 3261, section 21.1.4. */
public static final int SC_QUEUED = 182;
- /** <tt>183 Session Progress</tt>. RFC 3261, section 21.1.5. */
+ /** {@code 183 Session Progress}. RFC 3261, section 21.1.5. */
public static final int SC_SESSION_PROGRESS = 183;
// --- 2xx Successful ---
- /** <tt>200 OK</tt>. RFC 3261, section 21.2.1. */
+ /** {@code 200 OK}. RFC 3261, section 21.2.1. */
public static final int SC_OK = 200;
- /** <tt>202 Accepted</tt>. RFC 3265, section 6.4. */
+ /** {@code 202 Accepted}. RFC 3265, section 6.4. */
public static final int SC_ACCEPTED = 202;
// --- 3xx Redirection ---
- /** <tt>300 Multiple Choices</tt>. RFC 3261, section 21.3.1. */
+ /** {@code 300 Multiple Choices}. RFC 3261, section 21.3.1. */
public static final int SC_MULTIPLE_CHOICES = 300;
- /** <tt>301 Moved Permanently</tt>. RFC 3261, section 21.3.2. */
+ /** {@code 301 Moved Permanently}. RFC 3261, section 21.3.2. */
public static final int SC_MOVED_PERMANENTLY = 301;
- /** <tt>302 Moved Temporarily</tt>. RFC 3261, section 21.3.3. */
+ /** {@code 302 Moved Temporarily}. RFC 3261, section 21.3.3. */
public static final int SC_MOVED_TEMPORARILY = 302;
- /** <tt>305 Use Proxy</tt>. RFC 3261, section 21.3.4. */
+ /** {@code 305 Use Proxy}. RFC 3261, section 21.3.4. */
public static final int SC_USE_PROXY = 305;
- /** <tt>380 Alternative Service</tt>. RFC 3261, section 21.3.5. */
+ /** {@code 380 Alternative Service}. RFC 3261, section 21.3.5. */
public static final int SC_ALTERNATIVE_SERVICE = 380;
// --- 4xx Request Failure ---
- /** <tt>400 Bad Request</tt>. RFC 3261, section 21.4.1. */
+ /** {@code 400 Bad Request}. RFC 3261, section 21.4.1. */
public static final int SC_BAD_REQUEST = 400;
- /** <tt>401 Unauthorized</tt>. RFC 3261, section 21.4.2. */
+ /** {@code 401 Unauthorized}. RFC 3261, section 21.4.2. */
public static final int SC_UNAUTHORIZED = 401;
- /** <tt>402 Payment Required</tt>. RFC 3261, section 21.4.3. */
+ /** {@code 402 Payment Required}. RFC 3261, section 21.4.3. */
public static final int SC_PAYMENT_REQUIRED = 402;
- /** <tt>403 Forbidden</tt>. RFC 3261, section 21.4.4. */
+ /** {@code 403 Forbidden}. RFC 3261, section 21.4.4. */
public static final int SC_FORBIDDEN = 403;
- /** <tt>404 Not Found</tt>. RFC 3261, section 21.4.5. */
+ /** {@code 404 Not Found}. RFC 3261, section 21.4.5. */
public static final int SC_NOT_FOUND = 404;
- /** <tt>405 Method Not Allowed</tt>. RFC 3261, section 21.4.6. */
+ /** {@code 405 Method Not Allowed}. RFC 3261, section 21.4.6. */
public static final int SC_METHOD_NOT_ALLOWED = 405;
- /** <tt>406 Not Acceptable</tt>. RFC 3261, section 21.4.7. */
+ /** {@code 406 Not Acceptable}. RFC 3261, section 21.4.7. */
public static final int SC_NOT_ACCEPTABLE = 406;
/**
- * <tt>407 Proxy Authentication Required</tt>.
+ * {@code 407 Proxy Authentication Required}.
* RFC 3261, section 21.4.8.
*/
public static final int SC_PROXY_AUTHENTICATION_REQUIRED = 407;
- /** <tt>408 Request Timeout</tt>. RFC 3261, section 21.4.9. */
+ /** {@code 408 Request Timeout}. RFC 3261, section 21.4.9. */
public static final int SC_REQUEST_TIMEOUT = 408;
- /** <tt>410 Gone</tt>. RFC 3261, section 21.4.10. */
+ /** {@code 410 Gone}. RFC 3261, section 21.4.10. */
public static final int SC_GONE = 410;
- /** <tt>412 Conditional Request Failed</tt>. RFC 3903, section 11.2.1. */
+ /** {@code 412 Conditional Request Failed}. RFC 3903, section 11.2.1. */
public static final int SC_CONDITIONAL_REQUEST_FAILED = 412;
- /** <tt>413 Request Entity Too Large</tt>. RFC 3261, section 21.4.11. */
+ /** {@code 413 Request Entity Too Large}. RFC 3261, section 21.4.11. */
public static final int SC_REQUEST_ENTITY_TOO_LARGE = 413;
- /** <tt>414 Request-URI Too Long</tt>. RFC 3261, section 21.4.12. */
+ /** {@code 414 Request-URI Too Long}. RFC 3261, section 21.4.12. */
public static final int SC_REQUEST_URI_TOO_LONG = 414;
- /** <tt>415 Unsupported Media Type</tt>. RFC 3261, section 21.4.13. */
+ /** {@code 415 Unsupported Media Type}. RFC 3261, section 21.4.13. */
public static final int SC_UNSUPPORTED_MEDIA_TYPE = 415;
- /** <tt>416 Unsupported URI Scheme</tt>. RFC 3261, section 21.4.14. */
+ /** {@code 416 Unsupported URI Scheme}. RFC 3261, section 21.4.14. */
public static final int SC_UNSUPPORTED_URI_SCHEME = 416;
- /** <tt>417 Unknown Resource-Priority</tt>. RFC 4412, section 12.4. */
+ /** {@code 417 Unknown Resource-Priority}. RFC 4412, section 12.4. */
public static final int SC_UNKNOWN_RESOURCE_PRIORITY = 417;
- /** <tt>420 Bad Extension</tt>. RFC 3261, section 21.4.15. */
+ /** {@code 420 Bad Extension}. RFC 3261, section 21.4.15. */
public static final int SC_BAD_EXTENSION = 420;
- /** <tt>421 Extension Required</tt>. RFC 3261, section 21.4.16. */
+ /** {@code 421 Extension Required}. RFC 3261, section 21.4.16. */
public static final int SC_EXTENSION_REQUIRED = 421;
- /** <tt>422 Session Interval Too Small</tt>. RFC 4028, chapter 6. */
+ /** {@code 422 Session Interval Too Small}. RFC 4028, chapter 6. */
public static final int SC_SESSION_INTERVAL_TOO_SMALL = 422;
- /** <tt>423 Interval Too Brief</tt>. RFC 3261, section 21.4.17. */
+ /** {@code 423 Interval Too Brief}. RFC 3261, section 21.4.17. */
public static final int SC_INTERVAL_TOO_BRIEF = 423;
- /** <tt>428 Use Identity Header</tt>. RFC 4474, section 14.2. */
+ /** {@code 428 Use Identity Header}. RFC 4474, section 14.2. */
public static final int SC_USE_IDENTITY_HEADER = 428;
- /** <tt>429 Provide Referrer Identity</tt>. RFC 3892, chapter 5. */
+ /** {@code 429 Provide Referrer Identity}. RFC 3892, chapter 5. */
public static final int SC_PROVIDE_REFERRER_IDENTITY = 429;
- /** <tt>433 Anonymity Disallowed</tt>. RFC 5079, chapter 5. */
+ /** {@code 433 Anonymity Disallowed}. RFC 5079, chapter 5. */
public static final int SC_ANONYMITY_DISALLOWED = 433;
- /** <tt>436 Bad Identity-Info</tt>. RFC 4474, section 14.3. */
+ /** {@code 436 Bad Identity-Info}. RFC 4474, section 14.3. */
public static final int SC_BAD_IDENTITY_INFO = 436;
- /** <tt>437 Unsupported Certificate</tt>. RFC 4474, section 14.4. */
+ /** {@code 437 Unsupported Certificate}. RFC 4474, section 14.4. */
public static final int SC_UNSUPPORTED_CERTIFICATE = 437;
- /** <tt>438 Invalid Identity Header</tt>. RFC 4474, section 14.5. */
+ /** {@code 438 Invalid Identity Header}. RFC 4474, section 14.5. */
public static final int SC_INVALID_IDENTITY_HEADER = 438;
- /** <tt>480 Temporarily Unavailable</tt>. RFC 3261, section 21.4.18. */
+ /** {@code 480 Temporarily Unavailable}. RFC 3261, section 21.4.18. */
public static final int SC_TEMPORARILY_UNAVAILABLE = 480;
/**
- * <tt>481 Call/Transaction Does Not Exist</tt>.
+ * {@code 481 Call/Transaction Does Not Exist}.
* RFC 3261, section 21.4.19.
*/
public static final int SC_CALL_TRANSACTION_DOES_NOT_EXIST = 481;
- /** <tt>482 Loop Detected</tt>. RFC 3261, section 21.4.20. */
+ /** {@code 482 Loop Detected}. RFC 3261, section 21.4.20. */
public static final int SC_LOOP_DETECTED = 482;
- /** <tt>483 Too Many Hops</tt>. RFC 3261, section 21.4.21. */
+ /** {@code 483 Too Many Hops}. RFC 3261, section 21.4.21. */
public static final int SC_TOO_MANY_HOPS = 483;
- /** <tt>484 Address Incomplete</tt>. RFC 3261, section 21.4.22. */
+ /** {@code 484 Address Incomplete}. RFC 3261, section 21.4.22. */
public static final int SC_ADDRESS_INCOMPLETE = 484;
- /** <tt>485 Ambiguous</tt>. RFC 3261, section 21.4.23. */
+ /** {@code 485 Ambiguous}. RFC 3261, section 21.4.23. */
public static final int SC_AMBIGUOUS = 485;
- /** <tt>486 Busy Here</tt>. RFC 3261, section 21.4.24. */
+ /** {@code 486 Busy Here}. RFC 3261, section 21.4.24. */
public static final int SC_BUSY_HERE = 486;
- /** <tt>487 Request Terminated</tt>. RFC 3261, section 21.4.25. */
+ /** {@code 487 Request Terminated}. RFC 3261, section 21.4.25. */
public static final int SC_REQUEST_TERMINATED = 487;
- /** <tt>488 Not Acceptable Here</tt>. RFC 3261, section 21.4.26. */
+ /** {@code 488 Not Acceptable Here}. RFC 3261, section 21.4.26. */
public static final int SC_NOT_ACCEPTABLE_HERE = 488;
- /** <tt>489 Bad Event</tt>. RFC 3265, section 6.4. */
+ /** {@code 489 Bad Event}. RFC 3265, section 6.4. */
public static final int SC_BAD_EVENT = 489;
- /** <tt>491 Request Pending</tt>. RFC 3261, section 21.4.27. */
+ /** {@code 491 Request Pending}. RFC 3261, section 21.4.27. */
public static final int SC_REQUEST_PENDING = 491;
- /** <tt>493 Undecipherable</tt>. RFC 3261, section 21.4.28. */
+ /** {@code 493 Undecipherable}. RFC 3261, section 21.4.28. */
public static final int SC_UNDECIPHERABLE = 493;
- /** <tt>494 Security Agreement Required</tt>. RFC 3329, section 6.4. */
+ /** {@code 494 Security Agreement Required}. RFC 3329, section 6.4. */
public static final int SC_SECURITY_AGREEMENT_REQUIRED = 494;
// --- 5xx Server Failure ---
- /** <tt>500 Server Internal Error</tt>. RFC 3261, section 21.5.1. */
+ /** {@code 500 Server Internal Error}. RFC 3261, section 21.5.1. */
public static final int SC_SERVER_INTERNAL_ERROR = 500;
- /** <tt>501 Not Implemented</tt>. RFC 3261, section 21.5.2. */
+ /** {@code 501 Not Implemented}. RFC 3261, section 21.5.2. */
public static final int SC_NOT_IMPLEMENTED = 501;
- /** <tt>502 Bad Gateway</tt>. RFC 3261, section 21.5.3. */
+ /** {@code 502 Bad Gateway}. RFC 3261, section 21.5.3. */
public static final int SC_BAD_GATEWAY = 502;
- /** <tt>503 Service Unavailable</tt>. RFC 3261, section 21.5.4. */
+ /** {@code 503 Service Unavailable}. RFC 3261, section 21.5.4. */
public static final int SC_SERVICE_UNAVAILABLE = 503;
- /** <tt>504 Server Time-out</tt>. RFC 3261, section 21.5.5. */
+ /** {@code 504 Server Time-out}. RFC 3261, section 21.5.5. */
public static final int SC_SERVER_TIMEOUT = 504;
- /** <tt>505 Version Not Supported</tt>. RFC 3261, section 21.5.6. */
+ /** {@code 505 Version Not Supported}. RFC 3261, section 21.5.6. */
public static final int SC_VERSION_NOT_SUPPORTED = 505;
- /** <tt>513 Message Too Large</tt>. RFC 3261, section 21.5.7. */
+ /** {@code 513 Message Too Large}. RFC 3261, section 21.5.7. */
public static final int SC_MESSAGE_TOO_LARGE = 513;
- /** <tt>580 Precondition Failure</tt>. RFC 3312, chapter 8. */
+ /** {@code 580 Precondition Failure}. RFC 3312, chapter 8. */
public static final int SC_PRECONDITION_FAILURE = 580;
// --- 6xx Global Failures ---
- /** <tt>600 Busy Everywhere</tt>. RFC 3261, section 21.6.1. */
+ /** {@code 600 Busy Everywhere}. RFC 3261, section 21.6.1. */
public static final int SC_BUSY_EVERYWHERE = 600;
- /** <tt>603 Decline</tt>. RFC 3261, section 21.6.2. */
+ /** {@code 603 Decline}. RFC 3261, section 21.6.2. */
public static final int SC_DECLINE = 603;
- /** <tt>604 Does Not Exist Anywhere</tt>. RFC 3261, section 21.6.3. */
+ /** {@code 604 Does Not Exist Anywhere}. RFC 3261, section 21.6.3. */
public static final int SC_DOES_NOT_EXIST_ANYWHERE = 604;
/**
- * <tt>606 Not Acceptable</tt>. RFC 3261, section 21.6.4.
+ * {@code 606 Not Acceptable}. RFC 3261, section 21.6.4.
* Status codes 606 and 406 both indicate "Not Acceptable",
* but we can only define one constant with that name in this interface.
* 406 is specific to an endpoint, while 606 is global and
Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClientBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClientBuilder.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClientBuilder.java (original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/HttpAsyncClientBuilder.java Thu Jun 19 15:45:42 2014
@@ -437,7 +437,7 @@ public class HttpAsyncClientBuilder {
}
/**
- * Assigns <tt>User-Agent</tt> value.
+ * Assigns {@code User-Agent} value.
* <p/>
* Please note this value can be overridden by the {@link #setHttpProcessor(
* org.apache.http.protocol.HttpProcessor)} method.
Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingNHttpClientConnectionManager.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingNHttpClientConnectionManager.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingNHttpClientConnectionManager.java (original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingNHttpClientConnectionManager.java Thu Jun 19 15:45:42 2014
@@ -70,14 +70,14 @@ import org.apache.http.util.Args;
import org.apache.http.util.Asserts;
/**
- * <tt>PoolingNHttpClientConnectionManager</tt> maintains a pool of
+ * {@code PoolingNHttpClientConnectionManager} maintains a pool of
* {@link NHttpClientConnection}s and is able to service connection requests
* from multiple execution threads. Connections are pooled on a per route
* basis. A request for a route which already the manager has persistent
* connections for available in the pool will be services by leasing
* a connection from the pool rather than creating a brand new connection.
* <p/>
- * <tt>PoolingNHttpClientConnectionManager</tt> maintains a maximum limit
+ * {@code PoolingNHttpClientConnectionManager} maintains a maximum limit
* of connection on a per route basis and in total. Per default this
* implementation will create no more than than 2 concurrent connections
* per given route and no more 20 connections in total. For many real-world
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/auth/NegotiateScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/auth/NegotiateScheme.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/auth/NegotiateScheme.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java-deprecated/org/apache/http/impl/auth/NegotiateScheme.java Thu Jun 19 15:45:42 2014
@@ -170,7 +170,7 @@ public class NegotiateScheme extends GGS
* Returns the authentication parameter with the given name, if available.
*
* <p>There are no valid parameters for Negotiate authentication so this
- * method always returns <tt>null</tt>.</p>
+ * method always returns {@code null}.</p>
*
* @param name The name of the parameter to be returned
*
@@ -192,10 +192,10 @@ public class NegotiateScheme extends GGS
}
/**
- * Returns <tt>true</tt>.
+ * Returns {@code true}.
* Negotiate authentication scheme is connection based.
*
- * @return <tt>true</tt>.
+ * @return {@code true}.
*/
public boolean isConnectionBased() {
return true;
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthScheme.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthScheme.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthScheme.java Thu Jun 19 15:45:42 2014
@@ -95,7 +95,7 @@ public interface AuthScheme {
* Tests if the authentication scheme is provides authorization on a per
* connection basis instead of usual per request basis
*
- * @return <tt>true</tt> if the scheme is connection based, <tt>false</tt>
+ * @return {@code true</tt> if the scheme is connection based, <tt>false}
* if the scheme is request based.
*/
boolean isConnectionBased();
@@ -106,8 +106,8 @@ public interface AuthScheme {
* successfully or unsuccessfully, that is, all the required authorization
* challenges have been processed in their entirety.
*
- * @return <tt>true</tt> if the authentication process has been completed,
- * <tt>false</tt> otherwise.
+ * @return {@code true} if the authentication process has been completed,
+ * {@code false} otherwise.
*/
boolean isComplete();
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthScope.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthScope.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthScope.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthScope.java Thu Jun 19 15:45:42 2014
@@ -34,7 +34,7 @@ import org.apache.http.util.Args;
import org.apache.http.util.LangUtils;
/**
- * <tt>AuthScope</tt> represents an authentication scope consisting of a host name,
+ * {@code AuthScope} represents an authentication scope consisting of a host name,
* a port number, a realm name and an authentication scheme name.
* <p/>
* This class can also optionally contain a host of origin, if created in response
@@ -46,23 +46,23 @@ import org.apache.http.util.LangUtils;
public class AuthScope {
/**
- * The <tt>null</tt> value represents any host. In the future versions of
+ * The {@code null} value represents any host. In the future versions of
* HttpClient the use of this parameter will be discontinued.
*/
public static final String ANY_HOST = null;
/**
- * The <tt>-1</tt> value represents any port.
+ * The {@code -1} value represents any port.
*/
public static final int ANY_PORT = -1;
/**
- * The <tt>null</tt> value represents any realm.
+ * The {@code null} value represents any realm.
*/
public static final String ANY_REALM = null;
/**
- * The <tt>null</tt> value represents any authentication scheme.
+ * The {@code null} value represents any authentication scheme.
*/
public static final String ANY_SCHEME = null;
@@ -89,8 +89,8 @@ public class AuthScope {
private final HttpHost origin;
/**
- * Defines auth scope with the given <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and
- * <tt>authentication scheme</tt>.
+ * Defines auth scope with the given {@code host</tt>, <tt>port</tt>, <tt>realm}, and
+ * {@code authentication scheme}.
*
* @param host authentication host. May be {@link #ANY_HOST} if applies
* to any host.
@@ -148,7 +148,7 @@ public class AuthScope {
}
/**
- * Defines auth scope with the given <tt>host</tt>, <tt>port</tt> and <tt>realm</tt>.
+ * Defines auth scope with the given {@code host</tt>, <tt>port</tt> and <tt>realm}.
*
* @param host authentication host. May be {@link #ANY_HOST} if applies
* to any host.
@@ -162,7 +162,7 @@ public class AuthScope {
}
/**
- * Defines auth scope with the given <tt>host</tt> and <tt>port</tt>.
+ * Defines auth scope with the given {@code host</tt> and <tt>port}.
*
* @param host authentication host. May be {@link #ANY_HOST} if applies
* to any host.
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthenticationException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthenticationException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthenticationException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/AuthenticationException.java Thu Jun 19 15:45:42 2014
@@ -41,7 +41,7 @@ public class AuthenticationException ext
private static final long serialVersionUID = -6794031905674764776L;
/**
- * Creates a new AuthenticationException with a <tt>null</tt> detail message.
+ * Creates a new AuthenticationException with a {@code null} detail message.
*/
public AuthenticationException() {
super();
@@ -60,8 +60,8 @@ public class AuthenticationException ext
* Creates a new AuthenticationException with the specified detail message and cause.
*
* @param message the exception detail message
- * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
- * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+ * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+ * if the cause is unavailable, unknown, or not a {@code Throwable}
*/
public AuthenticationException(final String message, final Throwable cause) {
super(message, cause);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/InvalidCredentialsException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/InvalidCredentialsException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/InvalidCredentialsException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/InvalidCredentialsException.java Thu Jun 19 15:45:42 2014
@@ -41,7 +41,7 @@ public class InvalidCredentialsException
private static final long serialVersionUID = -4834003835215460648L;
/**
- * Creates a new InvalidCredentialsException with a <tt>null</tt> detail message.
+ * Creates a new InvalidCredentialsException with a {@code null} detail message.
*/
public InvalidCredentialsException() {
super();
@@ -60,8 +60,8 @@ public class InvalidCredentialsException
* Creates a new InvalidCredentialsException with the specified detail message and cause.
*
* @param message the exception detail message
- * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
- * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+ * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+ * if the cause is unavailable, unknown, or not a {@code Throwable}
*/
public InvalidCredentialsException(final String message, final Throwable cause) {
super(message, cause);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/MalformedChallengeException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/MalformedChallengeException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/MalformedChallengeException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/auth/MalformedChallengeException.java Thu Jun 19 15:45:42 2014
@@ -42,7 +42,7 @@ public class MalformedChallengeException
private static final long serialVersionUID = 814586927989932284L;
/**
- * Creates a new MalformedChallengeException with a <tt>null</tt> detail message.
+ * Creates a new MalformedChallengeException with a {@code null} detail message.
*/
public MalformedChallengeException() {
super();
@@ -61,8 +61,8 @@ public class MalformedChallengeException
* Creates a new MalformedChallengeException with the specified detail message and cause.
*
* @param message the exception detail message
- * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
- * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+ * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+ * if the cause is unavailable, unknown, or not a {@code Throwable}
*/
public MalformedChallengeException(final String message, final Throwable cause) {
super(message, cause);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/CircularRedirectException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/CircularRedirectException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/CircularRedirectException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/CircularRedirectException.java Thu Jun 19 15:45:42 2014
@@ -40,7 +40,7 @@ public class CircularRedirectException e
private static final long serialVersionUID = 6830063487001091803L;
/**
- * Creates a new CircularRedirectException with a <tt>null</tt> detail message.
+ * Creates a new CircularRedirectException with a {@code null} detail message.
*/
public CircularRedirectException() {
super();
@@ -59,8 +59,8 @@ public class CircularRedirectException e
* Creates a new CircularRedirectException with the specified detail message and cause.
*
* @param message the exception detail message
- * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
- * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+ * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+ * if the cause is unavailable, unknown, or not a {@code Throwable}
*/
public CircularRedirectException(final String message, final Throwable cause) {
super(message, cause);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/NonRepeatableRequestException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/NonRepeatableRequestException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/NonRepeatableRequestException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/NonRepeatableRequestException.java Thu Jun 19 15:45:42 2014
@@ -42,7 +42,7 @@ public class NonRepeatableRequestExcepti
private static final long serialVersionUID = 82685265288806048L;
/**
- * Creates a new NonRepeatableEntityException with a <tt>null</tt> detail message.
+ * Creates a new NonRepeatableEntityException with a {@code null} detail message.
*/
public NonRepeatableRequestException() {
super();
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/RedirectException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/RedirectException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/RedirectException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/RedirectException.java Thu Jun 19 15:45:42 2014
@@ -41,7 +41,7 @@ public class RedirectException extends P
private static final long serialVersionUID = 4418824536372559326L;
/**
- * Creates a new RedirectException with a <tt>null</tt> detail message.
+ * Creates a new RedirectException with a {@code null} detail message.
*/
public RedirectException() {
super();
@@ -60,8 +60,8 @@ public class RedirectException extends P
* Creates a new RedirectException with the specified detail message and cause.
*
* @param message the exception detail message
- * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
- * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+ * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+ * if the cause is unavailable, unknown, or not a {@code Throwable}
*/
public RedirectException(final String message, final Throwable cause) {
super(message, cause);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java Thu Jun 19 15:45:42 2014
@@ -92,7 +92,7 @@ public class ResponseContentEncoding imp
}
/**
- * Handles <tt>gzip</tt> and <tt>deflate</tt> compressed entities by using the following
+ * Handles {@code gzip</tt> and <tt>deflate} compressed entities by using the following
* decoders:
* <ul>
* <li>gzip - see {@link GZIPInputStream}</li>
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ConnectTimeoutException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ConnectTimeoutException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ConnectTimeoutException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ConnectTimeoutException.java Thu Jun 19 15:45:42 2014
@@ -50,7 +50,7 @@ public class ConnectTimeoutException ext
private final HttpHost host;
/**
- * Creates a ConnectTimeoutException with a <tt>null</tt> detail message.
+ * Creates a ConnectTimeoutException with a {@code null} detail message.
*/
public ConnectTimeoutException() {
super();
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ConnectionPoolTimeoutException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ConnectionPoolTimeoutException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ConnectionPoolTimeoutException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/conn/ConnectionPoolTimeoutException.java Thu Jun 19 15:45:42 2014
@@ -42,7 +42,7 @@ public class ConnectionPoolTimeoutExcept
private static final long serialVersionUID = -7898874842020245128L;
/**
- * Creates a ConnectTimeoutException with a <tt>null</tt> detail message.
+ * Creates a ConnectTimeoutException with a {@code null} detail message.
*/
public ConnectionPoolTimeoutException() {
super();
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/ClientCookie.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/ClientCookie.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/ClientCookie.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/ClientCookie.java Thu Jun 19 15:45:42 2014
@@ -31,10 +31,10 @@ package org.apache.http.cookie;
* ClientCookie extends the standard {@link Cookie} interface with
* additional client specific functionality such ability to retrieve
* original cookie attributes exactly as they were specified by the
- * origin server. This is important for generating the <tt>Cookie</tt>
+ * origin server. This is important for generating the {@code Cookie}
* header because some cookie specifications require that the
- * <tt>Cookie</tt> header should include certain attributes only if
- * they were specified in the <tt>Set-Cookie</tt> header.
+ * {@code Cookie} header should include certain attributes only if
+ * they were specified in the {@code Set-Cookie} header.
*
*
* @since 4.0
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/Cookie.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/Cookie.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/Cookie.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/Cookie.java Thu Jun 19 15:45:42 2014
@@ -55,7 +55,7 @@ public interface Cookie {
/**
* Returns the comment describing the purpose of this cookie, or
- * <tt>null</tt> if no such comment has been defined.
+ * {@code null} if no such comment has been defined.
*
* @return comment
*/
@@ -68,21 +68,21 @@ public interface Cookie {
String getCommentURL();
/**
- * Returns the expiration {@link Date} of the cookie, or <tt>null</tt>
+ * Returns the expiration {@link Date} of the cookie, or {@code null}
* if none exists.
* <p><strong>Note:</strong> the object returned by this method is
* considered immutable. Changing it (e.g. using setTime()) could result
* in undefined behaviour. Do so at your peril. </p>
- * @return Expiration {@link Date}, or <tt>null</tt>.
+ * @return Expiration {@link Date}, or {@code null}.
*/
Date getExpiryDate();
/**
- * Returns <tt>false</tt> if the cookie should be discarded at the end
- * of the "session"; <tt>true</tt> otherwise.
+ * Returns {@code false} if the cookie should be discarded at the end
+ * of the "session"; {@code true} otherwise.
*
- * @return <tt>false</tt> if the cookie should be discarded at the end
- * of the "session"; <tt>true</tt> otherwise
+ * @return {@code false} if the cookie should be discarded at the end
+ * of the "session"; {@code true} otherwise
*/
boolean isPersistent();
@@ -129,7 +129,7 @@ public interface Cookie {
* Returns true if this cookie has expired.
* @param date Current time
*
- * @return <tt>true</tt> if the cookie has expired.
+ * @return {@code true} if the cookie has expired.
*/
boolean isExpired(final Date date);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieAttributeHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieAttributeHandler.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieAttributeHandler.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieAttributeHandler.java Thu Jun 19 15:45:42 2014
@@ -66,7 +66,7 @@ public interface CookieAttributeHandler
*
* @param cookie {@link org.apache.http.cookie.Cookie} to match
* @param origin the cookie source to match against
- * @return <tt>true</tt> if the match is successful; <tt>false</tt> otherwise
+ * @return {@code true</tt> if the match is successful; <tt>false} otherwise
*/
boolean match(Cookie cookie, CookieOrigin origin);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookiePathComparator.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookiePathComparator.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookiePathComparator.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookiePathComparator.java Thu Jun 19 15:45:42 2014
@@ -34,7 +34,7 @@ import org.apache.http.annotation.Immuta
/**
* This cookie comparator ensures that multiple cookies satisfying
- * a common criteria are ordered in the <tt>Cookie</tt> header such
+ * a common criteria are ordered in the {@code Cookie} header such
* that those with more specific Path attributes precede those with
* less specific.
*
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieRestrictionViolationException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieRestrictionViolationException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieRestrictionViolationException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieRestrictionViolationException.java Thu Jun 19 15:45:42 2014
@@ -41,7 +41,7 @@ public class CookieRestrictionViolationE
private static final long serialVersionUID = 7371235577078589013L;
/**
- * Creates a new CookeFormatViolationException with a <tt>null</tt> detail
+ * Creates a new CookeFormatViolationException with a {@code null} detail
* message.
*/
public CookieRestrictionViolationException() {
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpec.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpec.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpec.java Thu Jun 19 15:45:42 2014
@@ -55,16 +55,16 @@ public interface CookieSpec {
int getVersion();
/**
- * Parse the <tt>"Set-Cookie"</tt> Header into an array of Cookies.
+ * Parse the {@code "Set-Cookie"} Header into an array of Cookies.
*
* <p>This method will not perform the validation of the resultant
* {@link Cookie}s</p>
*
* @see #validate
*
- * @param header the <tt>Set-Cookie</tt> received from the server
+ * @param header the {@code Set-Cookie} received from the server
* @param origin details of the cookie origin
- * @return an array of <tt>Cookie</tt>s parsed from the header
+ * @return an array of {@code Cookie}s parsed from the header
* @throws MalformedCookieException if an exception occurs during parsing
*/
List<Cookie> parse(Header header, CookieOrigin origin) throws MalformedCookieException;
@@ -85,13 +85,13 @@ public interface CookieSpec {
* @param cookie the Cookie to be matched
* @param origin the target to test against
*
- * @return <tt>true</tt> if the cookie should be submitted with a request
- * with given attributes, <tt>false</tt> otherwise.
+ * @return {@code true} if the cookie should be submitted with a request
+ * with given attributes, {@code false} otherwise.
*/
boolean match(Cookie cookie, CookieOrigin origin);
/**
- * Create <tt>"Cookie"</tt> headers for an array of Cookies.
+ * Create {@code "Cookie"} headers for an array of Cookies.
*
* @param cookies the Cookies format into a Cookie header
* @return a Header for the given Cookies.
@@ -102,7 +102,7 @@ public interface CookieSpec {
/**
* Returns a request header identifying what version of the state management
* specification is understood. May be <code>null</code> if the cookie
- * specification does not support <tt>Cookie2</tt> header.
+ * specification does not support {@code Cookie2} header.
*/
Header getVersionHeader();
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/MalformedCookieException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/MalformedCookieException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/MalformedCookieException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/MalformedCookieException.java Thu Jun 19 15:45:42 2014
@@ -43,7 +43,7 @@ public class MalformedCookieException ex
private static final long serialVersionUID = -6695462944287282185L;
/**
- * Creates a new MalformedCookieException with a <tt>null</tt> detail message.
+ * Creates a new MalformedCookieException with a {@code null} detail message.
*/
public MalformedCookieException() {
super();
@@ -62,8 +62,8 @@ public class MalformedCookieException ex
* Creates a new MalformedCookieException with the specified detail message and cause.
*
* @param message the exception detail message
- * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
- * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+ * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+ * if the cause is unavailable, unknown, or not a {@code Throwable}
*/
public MalformedCookieException(final String message, final Throwable cause) {
super(message, cause);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/SetCookie.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/SetCookie.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/SetCookie.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/SetCookie.java Thu Jun 19 15:45:42 2014
@@ -84,7 +84,7 @@ public interface SetCookie extends Cooki
/**
* Sets the secure attribute of the cookie.
* <p>
- * When <tt>true</tt> the cookie should only be sent
+ * When {@code true} the cookie should only be sent
* using a secure protocol (https). This should only be set when
* the cookie's originating server used a secure protocol to set the
* cookie's value.
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/SetCookie2.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/SetCookie2.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/SetCookie2.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/SetCookie2.java Thu Jun 19 15:45:42 2014
@@ -50,7 +50,7 @@ public interface SetCookie2 extends SetC
/**
* Set the Discard attribute.
*
- * Note: <tt>Discard</tt> attribute overrides <tt>Max-age</tt>.
+ * Note: {@code Discard</tt> attribute overrides <tt>Max-age}.
*
* @see #isPersistent()
*/
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/AuthSchemeBase.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/AuthSchemeBase.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/AuthSchemeBase.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/AuthSchemeBase.java Thu Jun 19 15:45:42 2014
@@ -59,7 +59,7 @@ public abstract class AuthSchemeBase imp
private ChallengeState challengeState;
/**
- * Creates an instance of <tt>AuthSchemeBase</tt> with the given challenge
+ * Creates an instance of {@code AuthSchemeBase} with the given challenge
* state.
*
* @since 4.2
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/BasicScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/BasicScheme.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/BasicScheme.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/BasicScheme.java Thu Jun 19 15:45:42 2014
@@ -67,7 +67,7 @@ public class BasicScheme extends RFC2617
}
/**
- * Creates an instance of <tt>BasicScheme</tt> with the given challenge
+ * Creates an instance of {@code BasicScheme} with the given challenge
* state.
*
* @since 4.2
@@ -111,8 +111,8 @@ public class BasicScheme extends RFC2617
/**
* Tests if the Basic authentication process has been completed.
*
- * @return <tt>true</tt> if Basic authorization has been processed,
- * <tt>false</tt> otherwise.
+ * @return {@code true} if Basic authorization has been processed,
+ * {@code false} otherwise.
*/
@Override
public boolean isComplete() {
@@ -120,9 +120,9 @@ public class BasicScheme extends RFC2617
}
/**
- * Returns <tt>false</tt>. Basic authentication scheme is request based.
+ * Returns {@code false}. Basic authentication scheme is request based.
*
- * @return <tt>false</tt>.
+ * @return {@code false}.
*/
@Override
public boolean isConnectionBased() {
@@ -182,7 +182,7 @@ public class BasicScheme extends RFC2617
}
/**
- * Returns a basic <tt>Authorization</tt> header value for the given
+ * Returns a basic {@code Authorization} header value for the given
* {@link Credentials} and charset.
*
* @param credentials The credentials to encode.
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java Thu Jun 19 15:45:42 2014
@@ -110,7 +110,7 @@ public class DigestScheme extends RFC261
}
/**
- * Creates an instance of <tt>DigestScheme</tt> with the given challenge
+ * Creates an instance of {@code DigestScheme} with the given challenge
* state.
*
* @since 4.2
@@ -144,8 +144,8 @@ public class DigestScheme extends RFC261
/**
* Tests if the Digest authentication process has been completed.
*
- * @return <tt>true</tt> if Digest authorization has been processed,
- * <tt>false</tt> otherwise.
+ * @return {@code true} if Digest authorization has been processed,
+ * {@code false} otherwise.
*/
@Override
public boolean isComplete() {
@@ -168,9 +168,9 @@ public class DigestScheme extends RFC261
}
/**
- * Returns <tt>false</tt>. Digest authentication scheme is request based.
+ * Returns {@code false}. Digest authentication scheme is request based.
*
- * @return <tt>false</tt>.
+ * @return {@code false}.
*/
@Override
public boolean isConnectionBased() {
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/KerberosScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/KerberosScheme.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/KerberosScheme.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/KerberosScheme.java Thu Jun 19 15:45:42 2014
@@ -108,9 +108,9 @@ public class KerberosScheme extends GGSS
}
/**
- * Returns <tt>true</tt>. KERBEROS authentication scheme is connection based.
+ * Returns {@code true}. KERBEROS authentication scheme is connection based.
*
- * @return <tt>true</tt>.
+ * @return {@code true}.
*/
@Override
public boolean isConnectionBased() {
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/NTLMEngineException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/NTLMEngineException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/NTLMEngineException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/NTLMEngineException.java Thu Jun 19 15:45:42 2014
@@ -57,8 +57,8 @@ public class NTLMEngineException extends
* Creates a new NTLMEngineException with the specified detail message and cause.
*
* @param message the exception detail message
- * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
- * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+ * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+ * if the cause is unavailable, unknown, or not a {@code Throwable}
*/
public NTLMEngineException(final String message, final Throwable cause) {
super(message, cause);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/RFC2617Scheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/RFC2617Scheme.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/RFC2617Scheme.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/RFC2617Scheme.java Thu Jun 19 15:45:42 2014
@@ -66,7 +66,7 @@ public abstract class RFC2617Scheme exte
private transient Charset credentialsCharset;
/**
- * Creates an instance of <tt>RFC2617Scheme</tt> with the given challenge
+ * Creates an instance of {@code RFC2617Scheme} with the given challenge
* state.
*
* @since 4.2
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/SPNegoScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/SPNegoScheme.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/SPNegoScheme.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/SPNegoScheme.java Thu Jun 19 15:45:42 2014
@@ -109,9 +109,9 @@ public class SPNegoScheme extends GGSSch
}
/**
- * Returns <tt>true</tt>. SPNEGO authentication scheme is connection based.
+ * Returns {@code true}. SPNEGO authentication scheme is connection based.
*
- * @return <tt>true</tt>.
+ * @return {@code true}.
*/
@Override
public boolean isConnectionBased() {
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/auth/UnsupportedDigestAlgorithmException.java Thu Jun 19 15:45:42 2014
@@ -41,7 +41,7 @@ public class UnsupportedDigestAlgorithmE
private static final long serialVersionUID = 319558534317118022L;
/**
- * Creates a new UnsupportedAuthAlgoritmException with a <tt>null</tt> detail message.
+ * Creates a new UnsupportedAuthAlgoritmException with a {@code null} detail message.
*/
public UnsupportedDigestAlgorithmException() {
super();
@@ -60,8 +60,8 @@ public class UnsupportedDigestAlgorithmE
* Creates a new UnsupportedAuthAlgoritmException with the specified detail message and cause.
*
* @param message the exception detail message
- * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
- * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
+ * @param cause the {@code Throwable</tt> that caused this exception, or <tt>null}
+ * if the cause is unavailable, unknown, or not a {@code Throwable}
*/
public UnsupportedDigestAlgorithmException(final String message, final Throwable cause) {
super(message, cause);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultRedirectStrategy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultRedirectStrategy.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultRedirectStrategy.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/DefaultRedirectStrategy.java Thu Jun 19 15:45:42 2014
@@ -58,8 +58,8 @@ import org.apache.http.util.TextUtils;
/**
* Default implementation of {@link RedirectStrategy}. This strategy honors the restrictions
* on automatic redirection of entity enclosing methods such as POST and PUT imposed by the
- * HTTP specification. <tt>302 Moved Temporarily</tt>, <tt>301 Moved Permanently</tt> and
- * <tt>307 Temporary Redirect</tt> status codes will result in an automatic redirect of
+ * HTTP specification. {@code 302 Moved Temporarily</tt>, <tt>301 Moved Permanently} and
+ * {@code 307 Temporary Redirect} status codes will result in an automatic redirect of
* HEAD and GET methods only. POST and PUT methods will not be automatically redirected
* as requiring user confirmation.
* <p/>
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/HttpClientBuilder.java Thu Jun 19 15:45:42 2014
@@ -415,7 +415,7 @@ public class HttpClientBuilder {
}
/**
- * Assigns <tt>User-Agent</tt> value.
+ * Assigns {@code User-Agent} value.
* <p/>
* Please note this value can be overridden by the {@link #setHttpProcessor(
* org.apache.http.protocol.HttpProcessor)} method.
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/RedirectLocations.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/RedirectLocations.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/RedirectLocations.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/RedirectLocations.java Thu Jun 19 15:45:42 2014
@@ -106,7 +106,7 @@ public class RedirectLocations extends A
* @return the URI at the specified position in this list
* @throws IndexOutOfBoundsException
* if the index is out of range (
- * <tt>index < 0 || index >= size()</tt>)
+ * {@code index < 0 || index >= size()})
* @since 4.3
*/
@Override
@@ -116,8 +116,8 @@ public class RedirectLocations extends A
/**
* Returns the number of elements in this list. If this list contains more
- * than <tt>Integer.MAX_VALUE</tt> elements, returns
- * <tt>Integer.MAX_VALUE</tt>.
+ * than {@code Integer.MAX_VALUE} elements, returns
+ * {@code Integer.MAX_VALUE}.
*
* @return the number of elements in this list
* @since 4.3
@@ -137,7 +137,7 @@ public class RedirectLocations extends A
* URI to be stored at the specified position
* @return the URI previously at the specified position
* @throws UnsupportedOperationException
- * if the <tt>set</tt> operation is not supported by this list
+ * if the {@code set} operation is not supported by this list
* @throws ClassCastException
* if the element is not a {@link URI}
* @throws NullPointerException
@@ -145,7 +145,7 @@ public class RedirectLocations extends A
* permit null elements
* @throws IndexOutOfBoundsException
* if the index is out of range (
- * <tt>index < 0 || index >= size()</tt>)
+ * {@code index < 0 || index >= size()})
* @since 4.3
*/
@Override
@@ -169,7 +169,7 @@ public class RedirectLocations extends A
* @param element
* URI to be inserted
* @throws UnsupportedOperationException
- * if the <tt>add</tt> operation is not supported by this list
+ * if the {@code add} operation is not supported by this list
* @throws ClassCastException
* if the element is not a {@link URI}
* @throws NullPointerException
@@ -177,7 +177,7 @@ public class RedirectLocations extends A
* permit null elements
* @throws IndexOutOfBoundsException
* if the index is out of range (
- * <tt>index < 0 || index > size()</tt>)
+ * {@code index < 0 || index > size()})
* @since 4.3
*/
@Override
@@ -196,7 +196,7 @@ public class RedirectLocations extends A
* @return the URI previously at the specified position
* @throws IndexOutOfBoundsException
* if the index is out of range (
- * <tt>index < 0 || index >= size()</tt>)
+ * {@code index < 0 || index >= size()})
* @since 4.3
*/
@Override
@@ -210,13 +210,13 @@ public class RedirectLocations extends A
}
/**
- * Returns <tt>true</tt> if this collection contains the specified element.
- * More formally, returns <tt>true</tt> if and only if this collection
- * contains at least one element <tt>e</tt> such that
- * <tt>(o==null ? e==null : o.equals(e))</tt>.
+ * Returns {@code true} if this collection contains the specified element.
+ * More formally, returns {@code true} if and only if this collection
+ * contains at least one element {@code e} such that
+ * {@code (o==null ? e==null : o.equals(e))}.
*
* @param o element whose presence in this collection is to be tested
- * @return <tt>true</tt> if this collection contains the specified
+ * @return {@code true} if this collection contains the specified
* element
*/
@Override
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/ConnectionShutdownException.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/ConnectionShutdownException.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/ConnectionShutdownException.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/ConnectionShutdownException.java Thu Jun 19 15:45:42 2014
@@ -41,7 +41,7 @@ public class ConnectionShutdownException
private static final long serialVersionUID = 5868657401162844497L;
/**
- * Creates a new ConnectionShutdownException with a <tt>null</tt> detail message.
+ * Creates a new ConnectionShutdownException with a {@code null} detail message.
*/
public ConnectionShutdownException() {
super();
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java Thu Jun 19 15:45:42 2014
@@ -67,14 +67,14 @@ import org.apache.http.util.Args;
import org.apache.http.util.Asserts;
/**
- * <tt>ClientConnectionPoolManager</tt> maintains a pool of
+ * {@code ClientConnectionPoolManager} maintains a pool of
* {@link HttpClientConnection}s and is able to service connection requests
* from multiple execution threads. Connections are pooled on a per route
* basis. A request for a route which already the manager has persistent
* connections for available in the pool will be services by leasing
* a connection from the pool rather than creating a brand new connection.
* <p/>
- * <tt>ClientConnectionPoolManager</tt> maintains a maximum limit of connection
+ * {@code ClientConnectionPoolManager} maintains a maximum limit of connection
* on a per route basis and in total. Per default this implementation will
* create no more than than 2 concurrent connections per given route
* and no more 20 connections in total. For many real-world applications
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/AbstractCookieSpec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/AbstractCookieSpec.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/AbstractCookieSpec.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/AbstractCookieSpec.java Thu Jun 19 15:45:42 2014
@@ -69,11 +69,11 @@ public abstract class AbstractCookieSpec
/**
* Finds an attribute handler {@link CookieAttributeHandler} for the
- * given attribute. Returns <tt>null</tt> if no attribute handler is
+ * given attribute. Returns {@code null} if no attribute handler is
* found for the specified attribute.
*
* @param name attribute name. e.g. Domain, Path, etc.
- * @return an attribute handler or <tt>null</tt>
+ * @return an attribute handler or {@code null}
*/
protected CookieAttributeHandler findAttribHandler(final String name) {
return this.attribHandlerMap.get(name);
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/BasicClientCookie.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/BasicClientCookie.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/BasicClientCookie.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/BasicClientCookie.java Thu Jun 19 15:45:42 2014
@@ -94,7 +94,7 @@ public class BasicClientCookie implement
/**
* Returns the comment describing the purpose of this cookie, or
- * <tt>null</tt> if no such comment has been defined.
+ * {@code null} if no such comment has been defined.
*
* @return comment
*
@@ -129,12 +129,12 @@ public class BasicClientCookie implement
/**
- * Returns the expiration {@link Date} of the cookie, or <tt>null</tt>
+ * Returns the expiration {@link Date} of the cookie, or {@code null}
* if none exists.
* <p><strong>Note:</strong> the object returned by this method is
* considered immutable. Changing it (e.g. using setTime()) could result
* in undefined behaviour. Do so at your peril. </p>
- * @return Expiration {@link Date}, or <tt>null</tt>.
+ * @return Expiration {@link Date}, or {@code null}.
*
* @see #setExpiryDate(java.util.Date)
*
@@ -162,11 +162,11 @@ public class BasicClientCookie implement
/**
- * Returns <tt>false</tt> if the cookie should be discarded at the end
- * of the "session"; <tt>true</tt> otherwise.
+ * Returns {@code false} if the cookie should be discarded at the end
+ * of the "session"; {@code true} otherwise.
*
- * @return <tt>false</tt> if the cookie should be discarded at the end
- * of the "session"; <tt>true</tt> otherwise
+ * @return {@code false} if the cookie should be discarded at the end
+ * of the "session"; {@code true} otherwise
*/
@Override
public boolean isPersistent() {
@@ -240,7 +240,7 @@ public class BasicClientCookie implement
/**
* Sets the secure attribute of the cookie.
* <p>
- * When <tt>true</tt> the cookie should only be sent
+ * When {@code true} the cookie should only be sent
* using a secure protocol (https). This should only be set when
* the cookie's originating server used a secure protocol to set the
* cookie's value.
@@ -295,7 +295,7 @@ public class BasicClientCookie implement
* Returns true if this cookie has expired.
* @param date Current time
*
- * @return <tt>true</tt> if the cookie has expired.
+ * @return {@code true} if the cookie has expired.
*/
@Override
public boolean isExpired(final Date date) {
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.java Thu Jun 19 15:45:42 2014
@@ -33,7 +33,7 @@ import org.apache.http.cookie.SetCookie;
import org.apache.http.util.Args;
/**
- * <tt>"Version"</tt> cookie attribute handler for BrowserCompat cookie spec.
+ * {@code "Version"} cookie attribute handler for BrowserCompat cookie spec.
*
* @since 4.3
*/
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/NetscapeDraftSpec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/NetscapeDraftSpec.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/NetscapeDraftSpec.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/NetscapeDraftSpec.java Thu Jun 19 15:45:42 2014
@@ -82,7 +82,7 @@ public class NetscapeDraftSpec extends C
}
/**
- * Parses the Set-Cookie value into an array of <tt>Cookie</tt>s.
+ * Parses the Set-Cookie value into an array of {@code Cookie}s.
*
* <p>Syntax of the Set-Cookie HTTP Response Header:</p>
*
@@ -101,8 +101,8 @@ public class NetscapeDraftSpec extends C
* @see <a href="http://web.archive.org/web/20020803110822/http://wp.netscape.com/newsref/std/cookie_spec.html">
* The Cookie Spec.</a>
*
- * @param header the <tt>Set-Cookie</tt> received from the server
- * @return an array of <tt>Cookie</tt>s parsed from the Set-Cookie value
+ * @param header the {@code Set-Cookie} received from the server
+ * @return an array of {@code Cookie}s parsed from the Set-Cookie value
* @throws MalformedCookieException if an exception occurs during parsing
*/
@Override
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java Thu Jun 19 15:45:42 2014
@@ -177,7 +177,7 @@ public class RFC2109Spec extends CookieS
}
/**
- * Return a name/value string suitable for sending in a <tt>"Cookie"</tt>
+ * Return a name/value string suitable for sending in a {@code "Cookie"}
* header as defined in RFC 2109 for backward compatibility with cookie
* version 0
* @param buffer The char array buffer to use for output
@@ -201,7 +201,7 @@ public class RFC2109Spec extends CookieS
}
/**
- * Return a string suitable for sending in a <tt>"Cookie"</tt> header
+ * Return a string suitable for sending in a {@code "Cookie"} header
* as defined in RFC 2109 for backward compatibility with cookie version 0
* @param buffer The char array buffer to use for output
* @param cookie The {@link Cookie} to be formatted as string
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.java Thu Jun 19 15:45:42 2014
@@ -36,7 +36,7 @@ import org.apache.http.cookie.SetCookie;
import org.apache.http.cookie.SetCookie2;
/**
- * <tt>"CommentURL"</tt> cookie attribute handler for RFC 2965 cookie spec.
+ * {@code "CommentURL"} cookie attribute handler for RFC 2965 cookie spec.
*
* @since 4.0
*/
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.java Thu Jun 19 15:45:42 2014
@@ -36,7 +36,7 @@ import org.apache.http.cookie.SetCookie;
import org.apache.http.cookie.SetCookie2;
/**
- * <tt>"Discard"</tt> cookie attribute handler for RFC 2965 cookie spec.
+ * {@code "Discard"} cookie attribute handler for RFC 2965 cookie spec.
*
* @since 4.0
*/
Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.java?rev=1603933&r1=1603932&r2=1603933&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.java (original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.java Thu Jun 19 15:45:42 2014
@@ -40,7 +40,7 @@ import org.apache.http.cookie.SetCookie;
import org.apache.http.util.Args;
/**
- * <tt>"Domain"</tt> cookie attribute handler for RFC 2965 cookie spec.
+ * {@code "Domain"} cookie attribute handler for RFC 2965 cookie spec.
*
*
* @since 3.1