[tomcat] branch master updated: Fix Javadoc errors

2021-03-15 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new ea3c2b5  Fix Javadoc errors
ea3c2b5 is described below

commit ea3c2b57e6c8ae5bbdaee2ea0f77d965653e654f
Author: Mark Thomas 
AuthorDate: Mon Mar 15 19:46:10 2021 +

Fix Javadoc errors
---
 java/org/apache/coyote/http2/Http2Parser.java | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/coyote/http2/Http2Parser.java 
b/java/org/apache/coyote/http2/Http2Parser.java
index 0895668..bf0565d 100644
--- a/java/org/apache/coyote/http2/Http2Parser.java
+++ b/java/org/apache/coyote/http2/Http2Parser.java
@@ -759,8 +759,9 @@ class Http2Parser {
  * @param swallowedDataBytesCount   The number of bytes that the parser
  *  swallowed.
  *
- * @throws ConnectionException
- * @throws IOException
+ * @throws ConnectionException If an error fatal to the HTTP/2
+ * connection occurs while swallowing the payload
+ * @throws IOException If an I/O occurred while swallowing the payload
  */
 void onSwallowedDataFramePayload(int streamId, int 
swallowedDataBytesCount) throws ConnectionException, IOException;
 
@@ -801,7 +802,8 @@ class Http2Parser {
  *  frame
  * @param size  The payload size of the swallowed frame
  *
- * @throws IOException
+ * @throws IOException If an I/O occurred while swallowing the unknown
+ * frame
  */
 void onSwallowedUnknownFrame(int streamId, int frameTypeId, int flags, 
int size) throws IOException;
 }


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: Fix javadoc after changes

2020-12-30 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 0974ffc  Fix javadoc after changes
0974ffc is described below

commit 0974ffcc1880ace148f9effd35e27728cccfc558
Author: remm 
AuthorDate: Wed Dec 30 16:54:29 2020 +0100

Fix javadoc after changes
---
 java/org/apache/tomcat/util/compat/JreCompat.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/tomcat/util/compat/JreCompat.java 
b/java/org/apache/tomcat/util/compat/JreCompat.java
index b12f80b..b8b3b48 100644
--- a/java/org/apache/tomcat/util/compat/JreCompat.java
+++ b/java/org/apache/tomcat/util/compat/JreCompat.java
@@ -305,7 +305,7 @@ public class JreCompat {
 
 
 /**
- * Create server socket channel using the specified socket domain socket 
address.
+ * Create server socket channel using the Unix domain socket 
ProtocolFamily.
  * @return the server socket channel
  */
 public ServerSocketChannel openUnixDomainServerSocketChannel() {
@@ -313,7 +313,7 @@ public class JreCompat {
 }
 
 /**
- * Create socket channel using the specified socket domain socket address.
+ * Create socket channel using the Unix domain socket ProtocolFamily.
  * @return the socket channel
  */
 public SocketChannel openUnixDomainSocketChannel() {


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: Fix Javadoc errors

2020-12-04 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 0fbab05  Fix Javadoc errors
0fbab05 is described below

commit 0fbab050ce47157e22c9f1eae776c12c1adad346
Author: Mark Thomas 
AuthorDate: Fri Dec 4 09:05:56 2020 +

Fix Javadoc errors
---
 java/org/apache/tomcat/util/net/SSLSupport.java   | 7 ---
 java/org/apache/tomcat/util/net/jsse/JSSESupport.java | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/tomcat/util/net/SSLSupport.java 
b/java/org/apache/tomcat/util/net/SSLSupport.java
index 2a69b8c..bf80f94 100644
--- a/java/org/apache/tomcat/util/net/SSLSupport.java
+++ b/java/org/apache/tomcat/util/net/SSLSupport.java
@@ -151,7 +151,8 @@ public interface SSLSupport {
  *
  * @return the list of SSL/TLS protocol versions requested by the client
  *
- * @throws IOException
+ * @throws IOException If an error occurs trying to obtain the client
+ *   requested protocol information from the socket
  */
 public String getRequestedProtocols() throws IOException;
 
@@ -159,8 +160,8 @@ public interface SSLSupport {
 *
 * @return the list of SSL/TLS ciphers requested by the client
 *
-* @throws IOException
+ * @throws IOException If an error occurs trying to obtain the client
+ *   request cipher information from the socket
 */
public String getRequestedCiphers() throws IOException;
 }
-
diff --git a/java/org/apache/tomcat/util/net/jsse/JSSESupport.java 
b/java/org/apache/tomcat/util/net/jsse/JSSESupport.java
index fdce0c2..10e9417 100644
--- a/java/org/apache/tomcat/util/net/jsse/JSSESupport.java
+++ b/java/org/apache/tomcat/util/net/jsse/JSSESupport.java
@@ -78,7 +78,7 @@ public class JSSESupport implements SSLSupport, 
SSLSessionManager {
 private Map> additionalAttributes;
 
 /**
- * @param session
+ * @param session SSLSession from which information is to be extracted
  *
  * @deprecated This will be removed in Tomcat 10.1.x onwards
  * Use {@link JSSESupport#JSSESupport(SSLSession, Map)}


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: Fix Javadoc for Java 8

2020-10-15 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 3082a43  Fix Javadoc for Java 8
3082a43 is described below

commit 3082a43ed3ac49d66ef9759ad5ea4455a51c3d25
Author: Mark Thomas 
AuthorDate: Thu Oct 15 11:57:11 2020 +0100

Fix Javadoc for Java 8
---
 java/jakarta/servlet/AsyncContext.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/java/jakarta/servlet/AsyncContext.java 
b/java/jakarta/servlet/AsyncContext.java
index 12ed736..80ff5fa 100644
--- a/java/jakarta/servlet/AsyncContext.java
+++ b/java/jakarta/servlet/AsyncContext.java
@@ -145,10 +145,10 @@ public interface AsyncContext {
 /**
  * Creates and returns an AsyncListener object
  *
- * @param 
- * @param clazz
+ * @param  The type to create that extends AsyncListener
+ * @param clazz The class to instantiate to create the listener
  * @return the newly created AsyncListener object
- * @throws ServletException
+ * @throws ServletException if the listener cannot be created
  */
  T createListener(Class clazz)
 throws ServletException;


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: Fix javadoc ...

2020-02-28 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 198949a  Fix javadoc ...
198949a is described below

commit 198949a6ef82066b797d09c1223b62a0179ff212
Author: remm 
AuthorDate: Fri Feb 28 11:58:02 2020 +0100

Fix javadoc ...
---
 java/org/apache/coyote/Request.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/Request.java 
b/java/org/apache/coyote/Request.java
index 5e6e470..05ba75c 100644
--- a/java/org/apache/coyote/Request.java
+++ b/java/org/apache/coyote/Request.java
@@ -570,7 +570,7 @@ public final class Request {
 
 /**
  *
- * @param startTime
+ * @param startTime time
  * @deprecated This setter will be removed in Tomcat 10.
  */
 @Deprecated


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: Fix "javadoc"

2020-01-08 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 8c50fc3  Fix "javadoc"
8c50fc3 is described below

commit 8c50fc3e71b9b4b3807e57d6566a3cdbb94748db
Author: remm 
AuthorDate: Wed Jan 8 17:45:09 2020 +0100

Fix "javadoc"
---
 java/org/apache/tomcat/util/net/SocketProperties.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/tomcat/util/net/SocketProperties.java 
b/java/org/apache/tomcat/util/net/SocketProperties.java
index 488f6f7..bfed3ac 100644
--- a/java/org/apache/tomcat/util/net/SocketProperties.java
+++ b/java/org/apache/tomcat/util/net/SocketProperties.java
@@ -112,8 +112,8 @@ public class SocketProperties {
  *   environments. Big servers also need to use a much higher default,
  *   while small cloud based ones should use 0 instead.
  *   Possible default value strategy:
- * heap < 1GB: 0
- * heap >= 1GB: heap / 16
+ * heap inf 1GB: 0
+ * heap sup 1GB: heap / 32
  */
 protected int bufferPoolSize = 1024*1024*100;
 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: Fix javadoc

2019-12-04 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 8f8a3e9  Fix javadoc
8f8a3e9 is described below

commit 8f8a3e974fa8841a40e192fbcc588a14b342264e
Author: remm 
AuthorDate: Wed Dec 4 15:25:17 2019 +0100

Fix javadoc

Even when marked deprecated, it needs to be complete to avoid breaking
the build.
---
 java/org/apache/catalina/realm/RealmBase.java | 5 +
 1 file changed, 5 insertions(+)

diff --git a/java/org/apache/catalina/realm/RealmBase.java 
b/java/org/apache/catalina/realm/RealmBase.java
index 91b468f..8c3df99 100644
--- a/java/org/apache/catalina/realm/RealmBase.java
+++ b/java/org/apache/catalina/realm/RealmBase.java
@@ -1225,6 +1225,11 @@ public abstract class RealmBase extends 
LifecycleMBeanBase implements Realm {
 
 
 /**
+ * Get the principal associated with the specified user name.
+ *
+ * @param username The user name
+ * @param gssCredential the GSS credential of the principal
+ * @return the principal associated with the given user name.
  * @deprecated This will be removed in Tomcat 10 onwards. Use
  * {@link #getPrincipal(GSSName, GSSCredential)} instead.
  */


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: Fix javadoc @see reference.

2019-11-22 Thread schultz
This is an automated email from the ASF dual-hosted git repository.

schultz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 76ab416  Fix javadoc @see reference.
76ab416 is described below

commit 76ab416598197e55b285cdb0fba915ee777c92b5
Author: Christopher Schultz 
AuthorDate: Fri Nov 22 17:42:47 2019 -0500

Fix javadoc @see reference.
---
 java/org/apache/catalina/servlets/WebdavServlet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java 
b/java/org/apache/catalina/servlets/WebdavServlet.java
index f870443..5874488 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -124,7 +124,7 @@ import org.xml.sax.SAXException;
  *
  * @author Remy Maucherat
  *
- * @see https://tools.ietf.org/html/rfc4918
+ * @see https://tools.ietf.org/html/rfc4918;>RFC 4918
  */
 public class WebdavServlet extends DefaultServlet {
 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: Fix Javadoc issues preventing release builds with newer Java versions

2019-09-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new a801409  Fix Javadoc issues preventing release builds with newer Java 
versions
a801409 is described below

commit a801409b37294c3f3dd5590453fb9580d7e33af2
Author: Mark Thomas 
AuthorDate: Fri Sep 6 16:21:18 2019 +0100

Fix Javadoc issues preventing release builds with newer Java versions

Enable release builds to be built with Java 10 onwards.
---
 build.xml  | 23 ---
 java/javax/servlet/http/HttpServletRequest.java|  5 +-
 java/javax/servlet/jsp/JspWriter.java  |  4 +-
 .../javax/servlet/jsp/tagext/SimpleTagSupport.java |  4 +-
 java/javax/servlet/jsp/tagext/TagExtraInfo.java|  2 +-
 java/javax/servlet/jsp/tagext/VariableInfo.java| 56 +++
 java/org/apache/catalina/Executor.java |  2 +-
 java/org/apache/catalina/core/ContainerBase.java   | 24 +++
 .../org/apache/catalina/filters/ExpiresFilter.java | 30 
 java/org/apache/catalina/tribes/package.html   |  4 +-
 java/org/apache/jasper/compiler/JspUtil.java   |  9 +--
 java/org/apache/jasper/compiler/PageDataImpl.java  |  2 +-
 java/org/apache/jasper/compiler/SmapStratum.java   | 14 ++--
 .../org/apache/jasper/runtime/BodyContentImpl.java |  4 +-
 java/org/apache/jasper/runtime/JspWriterImpl.java  |  4 +-
 java/org/apache/jasper/tagplugins/jstl/Util.java   |  8 +--
 java/org/apache/juli/FileHandler.java  |  2 +-
 java/org/apache/juli/logging/package.html  |  2 +-
 .../dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java  |  6 +-
 java/org/apache/tomcat/util/buf/package.html   |  2 +-
 java/org/apache/tomcat/util/digester/package.html  | 79 +-
 java/org/apache/tomcat/util/modeler/package.html   |  8 +--
 java/org/apache/tomcat/util/net/Nio2Channel.java   |  2 +-
 java/org/apache/tomcat/util/net/NioChannel.java|  6 +-
 .../apache/tomcat/util/net/SecureNio2Channel.java  |  2 +-
 .../apache/tomcat/util/net/SecureNioChannel.java   |  4 +-
 .../tomcat/util/threads/ThreadPoolExecutor.java|  2 +-
 webapps/docs/changelog.xml |  5 ++
 28 files changed, 157 insertions(+), 158 deletions(-)

diff --git a/build.xml b/build.xml
index 6690daa..295c8b5 100644
--- a/build.xml
+++ b/build.xml
@@ -196,9 +196,9 @@
 
   
   
-  
+ property="java9.javadoc.options"
+ value="-html5"/>
+  
 
   
   
@@ -1853,7 +1853,8 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
   encoding="UTF-8"
   docencoding="UTF-8"
   charset="UTF-8"
-  additionalparam="-breakiterator -notimestamp"
+  additionalparam="-breakiterator -notimestamp ${java9.javadoc.options}"
+  source="${compile.source}"
   maxmemory="512m"
   failonerror="true"
   failonwarning="true">
@@ -1873,7 +1874,8 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
   encoding="UTF-8"
   docencoding="UTF-8"
   charset="UTF-8"
-  additionalparam="-breakiterator -notimestamp"
+  additionalparam="-breakiterator -notimestamp ${java9.javadoc.options}"
+  source="${compile.source}"
   maxmemory="512m"
   failonerror="true"
   failonwarning="true">
@@ -1893,7 +1895,8 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
   encoding="UTF-8"
   docencoding="UTF-8"
   charset="UTF-8"
-  additionalparam="-breakiterator -notimestamp"
+  additionalparam="-breakiterator -notimestamp ${java9.javadoc.options}"
+  source="${compile.source}"
   maxmemory="512m"
   failonerror="true"
   failonwarning="true">
@@ -1913,7 +1916,8 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
   encoding="UTF-8"
   docencoding="UTF-8"
   charset="UTF-8"
-  additionalparam="-breakiterator -notimestamp"
+  additionalparam="-breakiterator -notimestamp ${java9.javadoc.options}"
+  source="${compile.source}"
   maxmemory="512m"
   failonerror="true"
   failonwarning="true">
@@ -1932,7 +1936,8 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
   encoding="UTF-8"
   docencoding="UTF-8"
   charset="UTF-8"
-  additionalparam="-breakiterator -notimestamp ${java9.add.modules}"
+  additionalparam="-breakiterator -notimestamp ${java9.javadoc.options}"
+  source="${compile.source}"
   maxmemory="512m"
   failonerror="true"
   failonwarning="true">
@@ -1944,7 +1949,7 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
   
   
   
-  http://docs.oracle.com/javase/8/docs/api/"/>
+  https://docs.oracle.com/javase/8/docs/api/"/>
   

[tomcat] branch master updated: Fix Javadoc typo

2019-06-11 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new bcdc744  Fix Javadoc typo
bcdc744 is described below

commit bcdc744b08e93e73ba9daea25ec1a9889a9d67e1
Author: Mark Thomas 
AuthorDate: Tue Jun 11 21:49:07 2019 +0100

Fix Javadoc typo
---
 java/javax/el/ELContext.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/javax/el/ELContext.java b/java/javax/el/ELContext.java
index f294192..46f0564 100644
--- a/java/javax/el/ELContext.java
+++ b/java/javax/el/ELContext.java
@@ -48,7 +48,7 @@ public abstract class ELContext {
 }
 
 /**
- * Mark the given property as resolved and notfy any interested listeners.
+ * Mark the given property as resolved and notify any interested listeners.
  *
  * @param base The base object on which the property was found
  * @param property The property that was resolved


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: Fix javadoc

2019-05-15 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 76830b1  Fix javadoc
76830b1 is described below

commit 76830b172770aeca0d99162b50b948c7b5f3cd7a
Author: remm 
AuthorDate: Wed May 15 20:05:02 2019 +0200

Fix javadoc
---
 java/org/apache/tomcat/util/net/NioEndpoint.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java 
b/java/org/apache/tomcat/util/net/NioEndpoint.java
index 5633c92..8f87f06 100644
--- a/java/org/apache/tomcat/util/net/NioEndpoint.java
+++ b/java/org/apache/tomcat/util/net/NioEndpoint.java
@@ -651,6 +651,7 @@ public class NioEndpoint extends 
AbstractJsseEndpoint
  * Registers a newly created socket with the poller.
  *
  * @param socketThe newly created socket
+ * @param socketWrapper The socket wrapper
  */
 public void register(final NioChannel socket, final NioSocketWrapper 
socketWrapper) {
 socketWrapper.interestOps(SelectionKey.OP_READ);//this is what 
OP_REGISTER turns into.


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: Fix javadoc too.

2019-05-09 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new df2424e  Fix javadoc too.
df2424e is described below

commit df2424e0fa4c5cb7e2987e7b713c404d7c5a88e1
Author: remm 
AuthorDate: Thu May 9 21:44:35 2019 +0200

Fix javadoc too.
---
 java/org/apache/coyote/AbstractProtocol.java  | 4 ++--
 java/org/apache/tomcat/util/net/AbstractEndpoint.java | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/coyote/AbstractProtocol.java 
b/java/org/apache/coyote/AbstractProtocol.java
index 6b93ef4..939477b 100644
--- a/java/org/apache/coyote/AbstractProtocol.java
+++ b/java/org/apache/coyote/AbstractProtocol.java
@@ -315,7 +315,7 @@ public abstract class AbstractProtocol implements 
ProtocolHandler,
  *
  * @param threadCount Unused
  *
- * @Deprecated Will be removed in Tomcat 10.
+ * @deprecated Will be removed in Tomcat 10.
  */
 @Deprecated
 public void setAcceptorThreadCount(int threadCount) {
@@ -326,7 +326,7 @@ public abstract class AbstractProtocol implements 
ProtocolHandler,
  *
  * @return Always 1.
  *
- * @Deprecated Will be removed in Tomcat 10.
+ * @deprecated Will be removed in Tomcat 10.
  */
 @Deprecated
 public int getAcceptorThreadCount() {
diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java 
b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 79d137e..bbe163d 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -411,7 +411,7 @@ public abstract class AbstractEndpoint {
  *
  * @param acceptorThreadCount Unused
  *
- * @Deprecated Will be removed in Tomcat 10.
+ * @deprecated Will be removed in Tomcat 10.
  */
 @Deprecated
 public void setAcceptorThreadCount(int acceptorThreadCount) {}
@@ -421,7 +421,7 @@ public abstract class AbstractEndpoint {
  *
  * @return Always 1.
  *
- * @Deprecated Will be removed in Tomcat 10.
+ * @deprecated Will be removed in Tomcat 10.
  */
 @Deprecated
 public int getAcceptorThreadCount() { return 1; }


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated: fix javadoc

2019-03-19 Thread kfujino
This is an automated email from the ASF dual-hosted git repository.

kfujino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 2d7a75c  fix javadoc
2d7a75c is described below

commit 2d7a75c5a227478810ff7d940e8b24a50d71ed45
Author: KeiichiFujino 
AuthorDate: Tue Mar 19 15:20:58 2019 +0900

fix javadoc
---
 .../src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
 
b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
index f5b1862..99a9fac 100644
--- 
a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
+++ 
b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
@@ -919,7 +919,7 @@ public class ConnectionPool {
 
 /**
  * Checks whether this connection has {@link 
PooledConnection#isMaxAgeExpired() expired} and tries to reconnect if it has.
- *
+ * @param con PooledConnection
  * @return true if the connection was either not expired or expired but 
reconnecting succeeded,
  * false if reconnecting failed (either because a new connection could not 
be established or
  * validating the newly created connection failed)


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org