Author: markt
Date: Mon Oct 13 14:32:10 2014
New Revision: 1631414
URL: http://svn.apache.org/r1631414
Log:
Fix Java 8 Javadoc errors in org.apache.coyote
Modified:
tomcat/trunk/java/org/apache/coyote/Request.java
tomcat/trunk/java/org/apache/coyote/Response.java
tomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java
tomcat/trunk/java/org/apache/coyote/http11/InternalInputBuffer.java
tomcat/trunk/java/org/apache/coyote/spdy/SpdyAprNpnHandler.java
tomcat/trunk/java/org/apache/coyote/spdy/SpdyProxyProtocol.java
Modified: tomcat/trunk/java/org/apache/coyote/Request.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/Request.java?rev=1631414&r1=1631413&r2=1631414&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/Request.java (original)
+++ tomcat/trunk/java/org/apache/coyote/Request.java Mon Oct 13 14:32:10 2014
@@ -451,7 +451,7 @@ public final class Request {
*
* The buffer is owned by the protocol implementation - it will be reused
on the next read.
* The Adapter must either process the data in place or copy it to a
separate buffer if it needs
- * to hold it. In most cases this is done during byte->char conversions or
via InputStream. Unlike
+ * to hold it. In most cases this is done during byte->char conversions
or via InputStream. Unlike
* InputStream, this interface allows the app to process data in place,
without copy.
*
*/
Modified: tomcat/trunk/java/org/apache/coyote/Response.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/Response.java?rev=1631414&r1=1631413&r2=1631414&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/Response.java (original)
+++ tomcat/trunk/java/org/apache/coyote/Response.java Mon Oct 13 14:32:10 2014
@@ -37,7 +37,7 @@ import org.apache.tomcat.util.res.String
* @author Jason Hunter [[email protected]]
* @author James Todd [[email protected]]
* @author Harish Prabandham
- * @author Hans Bergsten <[email protected]>
+ * @author Hans Bergsten [[email protected]]
* @author Remy Maucherat
*/
public final class Response {
@@ -280,7 +280,7 @@ public final class Response {
// -------------------- Headers --------------------
/**
- * Warning: This method always returns <code>false<code> for Content-Type
+ * Warning: This method always returns <code>false</code> for Content-Type
* and Content-Length.
*/
public boolean containsHeader(String name) {
Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java?rev=1631414&r1=1631413&r2=1631414&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java Mon Oct
13 14:32:10 2014
@@ -361,7 +361,7 @@ public abstract class AbstractInputBuffe
/**
* Has all of the request body been read? There are subtle differences
- * between this and available() > 0 primarily because of having to handle
+ * between this and available() > 0 primarily because of having to
handle
* faking non-blocking reads with the blocking IO connector.
*/
public boolean isFinished() {
Modified: tomcat/trunk/java/org/apache/coyote/http11/InternalInputBuffer.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/InternalInputBuffer.java?rev=1631414&r1=1631413&r2=1631414&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/InternalInputBuffer.java
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/InternalInputBuffer.java Mon Oct
13 14:32:10 2014
@@ -73,7 +73,7 @@ public class InternalInputBuffer extends
/**
* Data is always available for blocking IO (if you wait long enough) so
* return a value of 1. Note that the actual value is never used it is only
- * tested for == 0 or > 0.
+ * tested for == 0 or > 0.
*/
@Override
public int available() {
Modified: tomcat/trunk/java/org/apache/coyote/spdy/SpdyAprNpnHandler.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/spdy/SpdyAprNpnHandler.java?rev=1631414&r1=1631413&r2=1631414&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/spdy/SpdyAprNpnHandler.java (original)
+++ tomcat/trunk/java/org/apache/coyote/spdy/SpdyAprNpnHandler.java Mon Oct 13
14:32:10 2014
@@ -38,7 +38,7 @@ import org.apache.tomcat.util.net.Socket
* Plugin for APR connector providing SPDY support via NPN negotiation.
*
* Example:
- * <Connector port="9443"
+ * <Connector port="9443"
* npnHandler="org.apache.coyote.spdy.SpdyAprNpnHandler"
* protocol="HTTP/1.1"
* SSLEnabled="true"
@@ -47,7 +47,7 @@ import org.apache.tomcat.util.net.Socket
* secure="true"
* sslProtocol="TLS"
* SSLCertificateFile="conf/localhost-cert.pem"
- * SSLCertificateKeyFile="conf/localhost-key.pem"/>
+ * SSLCertificateKeyFile="conf/localhost-key.pem"/>
*
* This requires APR library ( libtcnative-1 ) to be present and compiled
* with a recent openssl or a openssl patched with npn support.
Modified: tomcat/trunk/java/org/apache/coyote/spdy/SpdyProxyProtocol.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/spdy/SpdyProxyProtocol.java?rev=1631414&r1=1631413&r2=1631414&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/spdy/SpdyProxyProtocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/spdy/SpdyProxyProtocol.java Mon Oct 13
14:32:10 2014
@@ -40,13 +40,13 @@ import org.apache.tomcat.util.net.Socket
* a reverse proxy ( apache, etc ).
*
* To configure:
- * <Connector port="8011" protocol="org.apache.coyote.spdy.SpdyProxyProtocol"/>
+ * <Connector port="8011"
protocol="org.apache.coyote.spdy.SpdyProxyProtocol"/>
*
* To test, use
* chrome --use-spdy=no-compress,no-ssl [--enable-websocket-over-spdy]
*
* TODO: Remote information (client ip, certs, etc ) will be sent in X-
headers.
- * TODO: if spdy->spdy proxy, info about original spdy stream for pushes.
+ * TODO: if spdy->spdy proxy, info about original spdy stream for pushes.
*
*/
public class SpdyProxyProtocol extends AbstractProtocol<Socket> {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]