(tomcat) branch 9.0.x updated: Fix javadoc error. Code clean-up (format)

2026-11-05 Thread markt.apache.org via dev
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 037fca65e1 Fix javadoc error. Code clean-up (format)
037fca65e1 is described below

commit 037fca65e1292be19cd2a97f302264c70524084b
Author: Mark Thomas 
AuthorDate: Thu Nov 5 19:09:44 2026 +

Fix javadoc error. Code clean-up (format)
---
 .../apache/tomcat/jdbc/pool/PooledConnection.java  | 213 ++---
 1 file changed, 100 insertions(+), 113 deletions(-)

diff --git 
a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
 
b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
index 53098a27a3..4cb92d0e2e 100644
--- 
a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
+++ 
b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
@@ -81,8 +81,8 @@ public class PooledConnection implements 
PooledConnectionMBean {
 private volatile java.sql.Connection connection;
 
 /**
- * If using a XAConnection underneath. On an XA session this is the pool's
- * {@link XABranchTracker} wrapper around the handle the data source 
returned.
+ * If using a XAConnection underneath. On an XA session this is the pool's 
{@link XABranchTracker} wrapper around
+ * the handle the data source returned.
  */
 protected volatile javax.sql.XAConnection xaConnection;
 /**
@@ -92,20 +92,15 @@ public class PooledConnection implements 
PooledConnectionMBean {
  */
 private volatile javax.sql.PooledConnection cpdsConnection;
 /**
- * When we track abandon traces, the borrow site of this connection, in one
- * of three shapes: a {@link StackTraceElement} array as captured at the
- * borrow and not yet formatted, the formatted trace (a String) that such 
an
- * array was turned into, or {@code null} for no site recorded. The 
formatting
- * is deferred to {@link #getStackTrace()} because a pool with logAbandoned
- * borrows constantly and reports rarely, so the cost is only paid when the
- * trace is actually read - and it is one slot rather than two fields, with
- * the formatting published by compare-and-set on the very array it read,
- * because the read-modify-write has no lock to sit in: the abandoned check
- * that reads it can be JMX-invoked, and con.lock() is a no-op unless the
- * sweeper or useLock is on. A formatting of an older borrow's frames then
- * loses the slot to any re-borrow that swapped its own site in meanwhile,
- * so a live session always carries its own borrow site rather than a
- * previous borrower's.
+ * When we track abandon traces, the borrow site of this connection, in 
one of three shapes: a
+ * {@link StackTraceElement} array as captured at the borrow and not yet 
formatted, the formatted trace (a String)
+ * that such an array was turned into, or {@code null} for no site 
recorded. The formatting is deferred to
+ * {@link #getStackTrace()} because a pool with logAbandoned borrows 
constantly and reports rarely, so the cost is
+ * only paid when the trace is actually read - and it is one slot rather 
than two fields, with the formatting
+ * published by compare-and-set on the very array it read, because the 
read-modify-write has no lock to sit in: the
+ * abandoned check that reads it can be JMX-invoked, and con.lock() is a 
no-op unless the sweeper or useLock is on.
+ * A formatting of an older borrow's frames then loses the slot to any 
re-borrow that swapped its own site in
+ * meanwhile, so a live session always carries its own borrow site rather 
than a previous borrower's.
  */
 private final AtomicReference abandonTrace = new 
AtomicReference<>();
 /**
@@ -137,7 +132,7 @@ public class PooledConnection implements 
PooledConnectionMBean {
  */
 protected ConnectionPool parent;
 
-private HashMap attributes = new HashMap<>();
+private HashMap attributes = new HashMap<>();
 
 private volatile long connectionVersion = 0;
 
@@ -152,8 +147,8 @@ public class PooledConnection implements 
PooledConnectionMBean {
 
 /**
  * The first link of the interceptor chain built for this connection, 
cached so that the chain is not rebuilt on
- * every borrow. The cache holds the chain by ordinary strong references - 
a pooled connection keeps the interceptors
- * it was given alive with itself. The pool writes the chain at each 
borrow (see
+ * every borrow. The cache holds the chain by ordinary strong references - 
a pooled connection keeps the
+ * interceptors it was given alive with itself. The pool writes the chain 
at each borrow (see
  * {@link #setHandler(JdbcInterceptor)}) and clears it when the connection 
goes out of service.
  

(tomcat) branch 9.0.x updated: Fix javadoc warnings

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new e52754f578 Fix javadoc warnings
e52754f578 is described below

commit e52754f57839276c71d167acc3223c1abe5943ce
Author: remm 
AuthorDate: Tue Oct 6 21:40:55 2026 +0200

Fix javadoc warnings
---
 .../apache/catalina/tribes/group/GroupChannel.java | 32 ++
 .../catalina/tribes/group/GroupChannelMBean.java   | 20 ++
 .../catalina/tribes/group/TribesSslContext.java| 28 +++
 .../catalina/tribes/transport/AbstractSender.java  |  8 ++
 java/org/apache/jasper/compiler/Node.java  |  6 
 .../tomcat/util/net/SSLHostConfigPreSharedKey.java | 12 
 .../tomcat/util/net/openssl/OpenSSLContext.java|  8 ++
 .../net/openssl/OpenSSLPreSharedKeySelector.java   |  6 
 8 files changed, 120 insertions(+)

diff --git a/java/org/apache/catalina/tribes/group/GroupChannel.java 
b/java/org/apache/catalina/tribes/group/GroupChannel.java
index f8d243cd7c..8e2ff6d2a7 100644
--- a/java/org/apache/catalina/tribes/group/GroupChannel.java
+++ b/java/org/apache/catalina/tribes/group/GroupChannel.java
@@ -678,6 +678,11 @@ public class GroupChannel extends ChannelInterceptorBase 
implements ManagedChann
 return secure;
 }
 
+/**
+ * Enables or disables the use of TLS to secure channel communication 
using a pre-shared key.
+ *
+ * @param secure boolean
+ */
 public void setSecure(boolean secure) {
 this.secure = secure;
 }
@@ -687,6 +692,11 @@ public class GroupChannel extends ChannelInterceptorBase 
implements ManagedChann
 return pskDigest;
 }
 
+/**
+ * Sets the name of the message digest algorithm used to derive the 
pre-shared key.
+ *
+ * @param pskDigest the digest algorithm name, for example 
SHA256
+ */
 public void setPskDigest(String pskDigest) {
 this.pskDigest = pskDigest;
 }
@@ -696,10 +706,22 @@ public class GroupChannel extends ChannelInterceptorBase 
implements ManagedChann
 return pskIdentity;
 }
 
+/**
+ * Sets the identity associated with the pre-shared key. Both the identity 
and the key must be set for the channel
+ * to use a pre-shared key.
+ *
+ * @param pskIdentity the pre-shared key identity
+ */
 public void setPskIdentity(String pskIdentity) {
 this.pskIdentity = pskIdentity;
 }
 
+/**
+ * Sets the pre-shared key as a hex encoded string. Both the identity and 
the key must be set for the channel to
+ * use a pre-shared key.
+ *
+ * @param pskKey the hex encoded pre-shared key
+ */
 public void setPskKey(String pskKey) {
 this.pskKey = pskKey;
 }
@@ -709,10 +731,20 @@ public class GroupChannel extends ChannelInterceptorBase 
implements ManagedChann
 return pskProtocol;
 }
 
+/**
+ * Sets the TLS protocol name used for secure channel communication.
+ *
+ * @param pskProtocol the TLS protocol name, for example 
TLSv1.3
+ */
 public void setPskProtocol(String pskProtocol) {
 this.pskProtocol = pskProtocol;
 }
 
+/**
+ * Returns the SSL context used to secure the channel with TLS.
+ *
+ * @return the SSL context, or null if the channel is not 
secure
+ */
 public TribesSslContext getSslContext() {
 return sslContext;
 }
diff --git a/java/org/apache/catalina/tribes/group/GroupChannelMBean.java 
b/java/org/apache/catalina/tribes/group/GroupChannelMBean.java
index 45e5491312..67c4a2508e 100644
--- a/java/org/apache/catalina/tribes/group/GroupChannelMBean.java
+++ b/java/org/apache/catalina/tribes/group/GroupChannelMBean.java
@@ -52,12 +52,32 @@ public interface GroupChannelMBean {
  */
 long getHeartbeatSleeptime();
 
+/**
+ * Returns whether the channel uses TLS to secure communication.
+ *
+ * @return {@code true} if the channel is secure
+ */
 boolean getSecure();
 
+/**
+ * Returns the name of the message digest algorithm used to derive the 
pre-shared key.
+ *
+ * @return the pre-shared key digest algorithm name
+ */
 String getPskDigest();
 
+/**
+ * Returns the identity associated with the pre-shared key.
+ *
+ * @return the pre-shared key identity
+ */
 String getPskIdentity();
 
+/**
+ * Returns the TLS protocol name used for secure communication.
+ *
+ * @return the TLS protocol name
+ */
 String getPskProtocol();
 
 // Operations
diff --git a/java/org/apache/catalina/tribes/group/TribesSslContext.java 
b/java/org/apache/catalina/tribes/group/TribesSslContext.java
index 527e6e1453..42fd41366b 100644
--- a/java/org/apache/catalina/tribes/group/TribesSslContext.java
+++ 

(tomcat) branch 9.0.x updated: Fix Javadoc error and 4 warnings

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new a3c0bc6557 Fix Javadoc error and 4 warnings
a3c0bc6557 is described below

commit a3c0bc65572abb9d22a256020371566a55a4b892
Author: Mark Thomas 
AuthorDate: Tue Sep 1 16:57:10 2026 +0100

Fix Javadoc error and 4 warnings
---
 java/org/apache/catalina/authenticator/AuthenticatorBase.java| 5 +
 .../tribes/membership/cloud/CloudMembershipProvider.java | 2 +-
 java/org/apache/catalina/webresources/AbstractResource.java  | 7 +++
 .../tomcat/websocket/server/WsHttpSessionBindingListener.java| 9 +
 java/org/apache/tomcat/websocket/server/WsServerContainer.java   | 7 +++
 5 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/authenticator/AuthenticatorBase.java 
b/java/org/apache/catalina/authenticator/AuthenticatorBase.java
index c00726aec8..fdb581a07e 100644
--- a/java/org/apache/catalina/authenticator/AuthenticatorBase.java
+++ b/java/org/apache/catalina/authenticator/AuthenticatorBase.java
@@ -1533,6 +1533,11 @@ public abstract class AuthenticatorBase extends 
ValveBase implements Authenticat
 this.authenticated = authenticated;
 }
 
+/**
+ * Was the authentication successful?
+ *
+ * @return {@code true} if successful, otherwise {@code false}
+ */
 public boolean getAuthenticated() {
 return authenticated;
 }
diff --git 
a/java/org/apache/catalina/tribes/membership/cloud/CloudMembershipProvider.java 
b/java/org/apache/catalina/tribes/membership/cloud/CloudMembershipProvider.java
index 9012eafd62..b31b3efa37 100644
--- 
a/java/org/apache/catalina/tribes/membership/cloud/CloudMembershipProvider.java
+++ 
b/java/org/apache/catalina/tribes/membership/cloud/CloudMembershipProvider.java
@@ -212,7 +212,7 @@ public abstract class CloudMembershipProvider extends 
MembershipProviderBase imp
 /**
  * Fetch current cluster members from the cloud orchestration.
  *
- * @return the member array, or {@null} if an error occurred
+ * @return the member array, or {@code null} if an error occurred
  */
 protected abstract Member[] fetchMembers();
 
diff --git a/java/org/apache/catalina/webresources/AbstractResource.java 
b/java/org/apache/catalina/webresources/AbstractResource.java
index 88f6f8c895..1b679aceca 100644
--- a/java/org/apache/catalina/webresources/AbstractResource.java
+++ b/java/org/apache/catalina/webresources/AbstractResource.java
@@ -230,6 +230,13 @@ public abstract class AbstractResource implements 
WebResource {
 protected abstract Log getLog();
 
 
+/**
+ * Gets the creation time for the given file
+ *
+ * @param file The file for which the creation time is required
+ *
+ * @return The creation time or, if not available the value of {@link 
File#lastModified()}
+ */
 protected long getCreation(File file) {
 try {
 BasicFileAttributes attrs = Files.readAttributes(file.toPath(), 
BasicFileAttributes.class);
diff --git 
a/java/org/apache/tomcat/websocket/server/WsHttpSessionBindingListener.java 
b/java/org/apache/tomcat/websocket/server/WsHttpSessionBindingListener.java
index 94cfabca63..9a8f57d7d0 100644
--- a/java/org/apache/tomcat/websocket/server/WsHttpSessionBindingListener.java
+++ b/java/org/apache/tomcat/websocket/server/WsHttpSessionBindingListener.java
@@ -22,12 +22,21 @@ import javax.servlet.http.HttpSession;
 import javax.servlet.http.HttpSessionBindingEvent;
 import javax.servlet.http.HttpSessionBindingListener;
 
+/**
+ * Listener used to track when an HTTP session expires and notifies the 
WebSocket container so any associated WebSocket
+ * session can be closed.
+ */
 public class WsHttpSessionBindingListener implements 
HttpSessionBindingListener, Serializable {
 
 private static final long serialVersionUID = 1L;
 
 private final String key;
 
+/**
+ * Create a new listener.
+ *
+ * @param key The key that identifies the HTTP session
+ */
 public WsHttpSessionBindingListener(String key) {
 this.key = key;
 }
diff --git a/java/org/apache/tomcat/websocket/server/WsServerContainer.java 
b/java/org/apache/tomcat/websocket/server/WsServerContainer.java
index d1b2abaa39..b3c4f39089 100644
--- a/java/org/apache/tomcat/websocket/server/WsServerContainer.java
+++ b/java/org/apache/tomcat/websocket/server/WsServerContainer.java
@@ -433,6 +433,13 @@ public class WsServerContainer extends 
WsWebSocketContainer implements ServerCon
 }
 
 
+/**
+ * Register the link between the HTTP session and WebSocket session if the 
HTTP session is authenticated.
+ *
+ * @param key The key to use to identify the HTTP session (session 
IDs can change)
+ * 

(tomcat) branch 9.0.x updated: Fix Javadoc warnings

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 2f3cc09d2b Fix Javadoc warnings
2f3cc09d2b is described below

commit 2f3cc09d2bdb0c68dab585fdb509c19248d69f52
Author: Mark Thomas 
AuthorDate: Wed Aug 12 20:55:59 2026 +0100

Fix Javadoc warnings
---
 .../org/apache/catalina/startup/TestWithoutClustering.java | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/test/org/apache/catalina/startup/TestWithoutClustering.java 
b/test/org/apache/catalina/startup/TestWithoutClustering.java
index 42e1ad05b2..80b07cf1b9 100644
--- a/test/org/apache/catalina/startup/TestWithoutClustering.java
+++ b/test/org/apache/catalina/startup/TestWithoutClustering.java
@@ -54,7 +54,7 @@ public class TestWithoutClustering extends TomcatBaseTest {
 "org.apache.catalina.tribes.Channel"));
 }
 
-/**
+/*
  * Verify that Tomcat starts up and serves requests when clustering
  * classes are not available.
  */
@@ -105,7 +105,7 @@ public class TestWithoutClustering extends TomcatBaseTest {
 tomcat.getEngine().getCluster());
 }
 
-/**
+/*
  * Verify that a servlet running inside a web application cannot load
  * clustering classes via the webapp classloader.
  */
@@ -159,7 +159,7 @@ public class TestWithoutClustering extends TomcatBaseTest {
 body.contains("RESULT: ALL_HIDDEN"));
 }
 
-/**
+/*
  * Verify that sessionsList.jsp compiles and renders when clustering
  * classes are not available. The JSP uses reflection to load DeltaSession
  * so it should gracefully fall back.
@@ -253,7 +253,7 @@ public class TestWithoutClustering extends TomcatBaseTest {
 .contains("active Sessions"));
 }
 
-/**
+/*
  * Verify that StandardEngineSF loads without error when clustering
  * classes are not available. The clusterValveClass field should be null.
  */
@@ -274,7 +274,7 @@ public class TestWithoutClustering extends TomcatBaseTest {
 "clustering classes", f.get(null));
 }
 
-/**
+/*
  * Verify that StandardHostSF loads without error when clustering
  * classes are not available. The clusterValveClass field should be null.
  */
@@ -295,7 +295,7 @@ public class TestWithoutClustering extends TomcatBaseTest {
 "clustering classes", f.get(null));
 }
 
-/**
+/*
  * Verify that StoreRegistry.getInterfaces() returns only the 10
  * core interfaces when clustering classes are not available.
  */
@@ -331,7 +331,7 @@ public class TestWithoutClustering extends TomcatBaseTest {
 
 }
 
-/**
+/*
  * Servlet that checks whether clustering classes are visible via the
  * webapp classloader (TCCL). Uses the TCCL rather than Class.forName()
  * because the servlet class itself is loaded by the system classloader


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix javadoc warning

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 6841f8426a Fix javadoc warning
6841f8426a is described below

commit 6841f8426aafe45272fcd1fe61637e66b4c80f1f
Author: Mark Thomas 
AuthorDate: Mon Aug 10 08:54:06 2026 +0100

Fix javadoc warning
---
 test/org/apache/catalina/manager/TestManagerWebapp.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/manager/TestManagerWebapp.java 
b/test/org/apache/catalina/manager/TestManagerWebapp.java
index 8204b3cc71..11899d4572 100644
--- a/test/org/apache/catalina/manager/TestManagerWebapp.java
+++ b/test/org/apache/catalina/manager/TestManagerWebapp.java
@@ -617,7 +617,7 @@ public class TestManagerWebapp extends TomcatBaseTest {
 }
 }
 
-/**
+/*
  * Verify that manager JSPs compile and render correctly.
  */
 @Test


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix Javadoc indent

2026-08-07 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new c5f7e38106 Fix Javadoc indent
c5f7e38106 is described below

commit c5f7e381062bdc7f58ad90150cce28dad725b653
Author: Mark Thomas 
AuthorDate: Fri Aug 7 17:08:24 2026 +0100

Fix Javadoc indent
---
 java/org/apache/catalina/UserDatabase.java | 14 
 java/org/apache/catalina/connector/Request.java| 12 +++
 java/org/apache/catalina/filters/FilterBase.java   |  4 +--
 .../apache/catalina/filters/RemoteIpFilter.java|  2 +-
 .../mbeans/DataSourceUserDatabaseMBean.java|  6 ++--
 .../apache/catalina/tribes/group/GroupChannel.java | 10 +++---
 java/org/apache/catalina/util/IOTools.java |  2 +-
 .../catalina/valves/AbstractAccessLogValve.java|  2 +-
 .../catalina/valves/rewrite/RewriteRule.java   |  2 +-
 .../webresources/AbstractArchiveResource.java  | 10 +++---
 .../apache/catalina/webresources/FileResource.java |  2 +-
 java/org/apache/coyote/RequestGroupInfo.java   |  4 +--
 java/org/apache/coyote/RequestInfo.java|  2 +-
 java/org/apache/jasper/JspC.java   |  2 +-
 java/org/apache/jasper/compiler/JspUtil.java   |  2 +-
 .../apache/jasper/runtime/JspRuntimeLibrary.java   |  2 +-
 .../apache/tomcat/buildutil/RepeatableArchive.java |  2 +-
 .../dbcp2/datasources/PooledConnectionManager.java |  2 +-
 java/org/apache/tomcat/jni/Pool.java   |  4 +--
 java/org/apache/tomcat/util/buf/ByteChunk.java |  2 +-
 .../tomcat/util/descriptor/web/FilterDef.java  |  6 ++--
 .../tomcat/util/descriptor/web/FilterMap.java  |  8 ++---
 .../tomcat/util/file/ConfigurationSource.java  | 38 +++---
 .../tomcat/util/http/Rfc6265CookieProcessor.java   |  6 ++--
 .../apache/tomcat/util/http/WebdavIfHeader.java|  2 +-
 .../tomcat/util/http/fileupload/util/Streams.java  |  4 +--
 java/org/apache/tomcat/util/net/SSLHostConfig.java |  2 +-
 .../apache/tomcat/util/net/SocketWrapperBase.java  | 26 +++
 .../tomcat/util/threads/ThreadPoolExecutor.java| 10 +++---
 java/org/apache/tomcat/websocket/WsFrameBase.java  |  4 +--
 .../apache/tomcat/jdbc/pool/DataSourceFactory.java |  4 +--
 .../apache/tomcat/jdbc/pool/DataSourceProxy.java   | 38 +++---
 .../apache/tomcat/jdbc/pool/StatementFacade.java   |  2 +-
 .../interceptor/StatementDecoratorInterceptor.java |  2 +-
 .../tomcat/jdbc/pool/jmx/ConnectionPool.java   |  2 +-
 .../TestPersistentProviderRegistrations.java   | 32 +-
 36 files changed, 137 insertions(+), 137 deletions(-)

diff --git a/java/org/apache/catalina/UserDatabase.java 
b/java/org/apache/catalina/UserDatabase.java
index 8c0dc0ca89..e8ea24ae11 100644
--- a/java/org/apache/catalina/UserDatabase.java
+++ b/java/org/apache/catalina/UserDatabase.java
@@ -29,7 +29,7 @@ public interface UserDatabase {
 
 // - Properties
 
-   /**
+/**
  * Get the set of {@link Group}s defined in this user database.
  *
  * @return the set of {@link Group}s defined in this user database.
@@ -37,7 +37,7 @@ public interface UserDatabase {
 Iterator getGroups();
 
 
-   /**
+/**
  * Get the unique global identifier of this user database.
  *
  * @return the unique global identifier of this user database.
@@ -45,7 +45,7 @@ public interface UserDatabase {
 String getId();
 
 
-   /**
+/**
  * Get the set of {@link Role}s defined in this user database.
  *
  * @return the set of {@link Role}s defined in this user database.
@@ -53,7 +53,7 @@ public interface UserDatabase {
 Iterator getRoles();
 
 
-   /**
+/**
  * Get the set of {@link User}s defined in this user database.
  *
  * @return the set of {@link User}s defined in this user database.
@@ -105,7 +105,7 @@ public interface UserDatabase {
 User createUser(String username, String password, String fullName);
 
 
-   /**
+/**
  * Find the {@link Group} with the specified group name.
  *
  * @param groupname Name of the group to return
@@ -114,7 +114,7 @@ public interface UserDatabase {
 Group findGroup(String groupname);
 
 
-   /**
+/**
  * Find the {@link Role} with the specified role name.
  *
  * @param rolename Name of the role to return
@@ -123,7 +123,7 @@ public interface UserDatabase {
 Role findRole(String rolename);
 
 
-   /**
+/**
  * Find the {@link User} with the specified username.
  *
  * @param username Name of the user to return
diff --git a/java/org/apache/catalina/connector/Request.java 
b/java/org/apache/catalina/connector/Request.java
index a2febe97b1..baa0e49951 100644
--- a/java/org/apache/catalina/connector/Request.java
+++ 

(tomcat) branch 9.0.x updated: Fix Javadoc

2026-07-22 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 450aa98b4c Fix Javadoc
450aa98b4c is described below

commit 450aa98b4c571ad869bf2421c25bd98695ee4573
Author: Mark Thomas 
AuthorDate: Wed Jul 22 11:29:49 2026 +0100

Fix Javadoc
---
 java/org/apache/tomcat/util/descriptor/tld/TldResourcePath.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/descriptor/tld/TldResourcePath.java 
b/java/org/apache/tomcat/util/descriptor/tld/TldResourcePath.java
index 78f59d93fb..f0793dd7f2 100644
--- a/java/org/apache/tomcat/util/descriptor/tld/TldResourcePath.java
+++ b/java/org/apache/tomcat/util/descriptor/tld/TldResourcePath.java
@@ -79,7 +79,7 @@ public class TldResourcePath {
  * Returns the path within the web application, if any, that the resource 
returned by {@link #getUrl()} was obtained
  * from.
  *
- * @return the web application path or @null if the resource is not 
located within a web application
+ * @return the web application path or {@code null} if the resource is not 
located within a web application
  */
 public String getWebappPath() {
 return webappPath;


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix javadoc

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

rmaucher pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new de5d669f13 Fix javadoc
de5d669f13 is described below

commit de5d669f134aaa7be6dd77cb42095b95c388cedf
Author: remm 
AuthorDate: Wed Jul 8 19:47:51 2026 +0200

Fix javadoc
---
 java/org/apache/catalina/tribes/Channel.java | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/catalina/tribes/Channel.java 
b/java/org/apache/catalina/tribes/Channel.java
index b7323c64ec..9a58f44dbe 100644
--- a/java/org/apache/catalina/tribes/Channel.java
+++ b/java/org/apache/catalina/tribes/Channel.java
@@ -273,7 +273,7 @@ public interface Channel {
 /**
  * Send a message to one or more members in the cluster
  *
- * @param destination Member[] - the destinations, null or zero length 
means all members. Note that a membership
+ * @param destination Member[] - the destinations. Note that a membership
  *change can occur between obtaining the member 
list and sending the message, so the
  *application is uncertain what group the message 
actually got sent to.
  * @param msg Serializable - the message to send, has to be 
serializable, or a ByteMessage to
@@ -283,7 +283,7 @@ public interface Channel {
  *
  * @return a unique Id that identifies the message that is sent
  *
- * @throws ChannelException if a serialization error happens.
+ * @throws ChannelException if the msg is null, if the destination is null 
or is empty, or if a serialization error happens.
  *
  * @see ByteMessage
  * @see #SEND_OPTIONS_USE_ACK
@@ -295,7 +295,7 @@ public interface Channel {
 /**
  * Send a message to one or more members in the cluster
  *
- * @param destination Member[] - the destinations, null or zero length 
means all members. Note that a membership
+ * @param destination Member[] - the destinations. Note that a membership
  *change can occur between obtaining the member 
list and sending the message, so the
  *application is uncertain what group the message 
actually got sent to.
  * @param msg ClusterMessage - the message to send
@@ -304,7 +304,7 @@ public interface Channel {
  *
  * @return a unique Id that identifies the message that is sent
  *
- * @exception ChannelException - if a serialization error happens.
+ * @throws ChannelException if the msg is null, if the destination is null 
or is empty, or if a serialization error happens.
  */
 UniqueId send(Member[] destination, Serializable msg, int options, 
ErrorHandler handler) throws ChannelException;
 


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix Javadoc typo

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new c45ba6b33d Fix Javadoc typo
c45ba6b33d is described below

commit c45ba6b33dce270a0cc37b901270dab9058d12fe
Author: Mark Thomas 
AuthorDate: Wed Jun 24 22:18:42 2026 +0100

Fix Javadoc typo
---
 java/org/apache/catalina/authenticator/BasicAuthenticator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/authenticator/BasicAuthenticator.java 
b/java/org/apache/catalina/authenticator/BasicAuthenticator.java
index 2ee81ccd87..c5d2074f40 100644
--- a/java/org/apache/catalina/authenticator/BasicAuthenticator.java
+++ b/java/org/apache/catalina/authenticator/BasicAuthenticator.java
@@ -225,7 +225,7 @@ public class BasicAuthenticator extends AuthenticatorBase {
 /**
  * Trivial accessor.
  *
- * @return the decoded username token as a String, which is never be 
null, but can be empty.
+ * @return the decoded username token as a String, which is never 
null, but can be empty.
  */
 public String getUsername() {
 return username;


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix Javadoc warnings (all from recent changes)

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new c37e06c926 Fix Javadoc warnings (all from recent changes)
c37e06c926 is described below

commit c37e06c9265e5e474312f6cc864b943b25dd785f
Author: Mark Thomas 
AuthorDate: Mon Jun 15 13:40:09 2026 +0100

Fix Javadoc warnings (all from recent changes)
---
 .../catalina/tribes/group/interceptors/OrderInterceptor.java   | 5 +
 .../catalina/tribes/membership/cloud/CloudMembershipProvider.java  | 7 +++
 java/org/apache/catalina/util/ContextName.java | 5 +
 java/org/apache/tomcat/jni/SSL.java| 6 ++
 4 files changed, 23 insertions(+)

diff --git 
a/java/org/apache/catalina/tribes/group/interceptors/OrderInterceptor.java 
b/java/org/apache/catalina/tribes/group/interceptors/OrderInterceptor.java
index 6a015ddcdc..59d9cda4ed 100644
--- a/java/org/apache/catalina/tribes/group/interceptors/OrderInterceptor.java
+++ b/java/org/apache/catalina/tribes/group/interceptors/OrderInterceptor.java
@@ -263,6 +263,11 @@ public class OrderInterceptor extends 
ChannelInterceptorBase {
 this(0);
 }
 
+/**
+ * Constructs a Counter with the given initial value.
+ *
+ * @param startValue The initial value
+ */
 public Counter(int startValue) {
 value =  new AtomicInteger(startValue);
 }
diff --git 
a/java/org/apache/catalina/tribes/membership/cloud/CloudMembershipProvider.java 
b/java/org/apache/catalina/tribes/membership/cloud/CloudMembershipProvider.java
index 46ff974194..ea8e7eb76b 100644
--- 
a/java/org/apache/catalina/tribes/membership/cloud/CloudMembershipProvider.java
+++ 
b/java/org/apache/catalina/tribes/membership/cloud/CloudMembershipProvider.java
@@ -137,6 +137,13 @@ public abstract class CloudMembershipProvider extends 
MembershipProviderBase imp
 return val;
 }
 
+/**
+ * Default constructor.
+ */
+public CloudMembershipProvider() {
+}
+
+
 /**
  * Get the Kubernetes namespace, or "tomcat" if the Kubernetes environment 
variable cannot be found (with a warning
  * log about the missing namespace).
diff --git a/java/org/apache/catalina/util/ContextName.java 
b/java/org/apache/catalina/util/ContextName.java
index 54014c37f4..4945476f27 100644
--- a/java/org/apache/catalina/util/ContextName.java
+++ b/java/org/apache/catalina/util/ContextName.java
@@ -201,6 +201,11 @@ public final class ContextName {
 }
 
 
+/**
+ * Checks if the path for this instance is valid.
+ *
+ * @return {@code true} if the path given/calculated for this instance is 
valid, otherwise {@code false}
+ */
 public boolean isPathValid() {
 // No need to test for null since path can never be null (see 
constructors)
 //
diff --git a/java/org/apache/tomcat/jni/SSL.java 
b/java/org/apache/tomcat/jni/SSL.java
index 6b39679c04..5ac6eabe86 100644
--- a/java/org/apache/tomcat/jni/SSL.java
+++ b/java/org/apache/tomcat/jni/SSL.java
@@ -1141,6 +1141,12 @@ public final class SSL {
  */
 public static native int getPostHandshakeAuthInProgress(long ssl);
 
+/**
+ * Marks post handshake authentication complete for the connection. Used 
when JSSE is performing certificate
+ * verification for OpenSSL.
+ *
+ * @param ssl the SSL instance (SSL *)
+ */
 public static native void markPostHandshakeAuthComplete(long ssl);
 
 /**


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix javadoc

2026-05-22 Thread rjung
This is an automated email from the ASF dual-hosted git repository.

rainerjung pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new b08b10cae6 Fix javadoc
b08b10cae6 is described below

commit b08b10cae633bedf28418953dc0e8f6606a61302
Author: Rainer Jung 
AuthorDate: Fri May 22 21:50:44 2026 +0200

Fix javadoc
---
 java/org/apache/tomcat/jni/SSL.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/jni/SSL.java 
b/java/org/apache/tomcat/jni/SSL.java
index ee6cdbd641..64331a5aec 100644
--- a/java/org/apache/tomcat/jni/SSL.java
+++ b/java/org/apache/tomcat/jni/SSL.java
@@ -687,7 +687,7 @@ public final class SSL {
 public static final int SSL_SELECTOR_FAILURE_CHOOSE_MY_LAST_PROTOCOL = 1;
 
 /**
- * Return OpenSSL version number (compile time version, if version < 
1.1.0).
+ * Return OpenSSL version number (compile time version, if version < 
1.1.0).
  *
  * @return OpenSSL version number
  */


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix javadoc

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

rmaucher pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new e64dae75ae Fix javadoc
e64dae75ae is described below

commit e64dae75aeffdc8a1265179165a0d92fd53e996b
Author: remm 
AuthorDate: Wed May 20 10:19:29 2026 +0200

Fix javadoc
---
 java/org/apache/catalina/ant/SessionsTask.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/catalina/ant/SessionsTask.java 
b/java/org/apache/catalina/ant/SessionsTask.java
index 017bc88f65..c578b06c3f 100644
--- a/java/org/apache/catalina/ant/SessionsTask.java
+++ b/java/org/apache/catalina/ant/SessionsTask.java
@@ -30,12 +30,12 @@ public class SessionsTask extends 
AbstractCatalinaCommandTask {
 }
 
 /**
- * Minimum idle time in seconds for sessions to be included in the 
response.
+ * Minimum idle time in minutes for sessions to be included in the 
response.
  */
 protected String idle = null;
 
 /**
- * Returns the minimum idle time in seconds for sessions to be included.
+ * Returns the minimum idle time in minutes for sessions to be included.
  *
  * @return the minimum idle time
  */
@@ -44,7 +44,7 @@ public class SessionsTask extends AbstractCatalinaCommandTask 
{
 }
 
 /**
- * Sets the minimum idle time in seconds for sessions to be included.
+ * Sets the minimum idle time in minutes for sessions to be included.
  *
  * @param idle the minimum idle time
  */


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix javadoc error

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 84305b56e5 Fix javadoc error
84305b56e5 is described below

commit 84305b56e5b6227ab028059595aa6d928fa58c5e
Author: Mark Thomas 
AuthorDate: Thu Jan 15 19:53:50 2026 +

Fix javadoc error
---
 java/org/apache/tomcat/util/net/openssl/OpenSSLStatus.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/openssl/OpenSSLStatus.java 
b/java/org/apache/tomcat/util/net/openssl/OpenSSLStatus.java
index 749813bc38..c6e33e08ac 100644
--- a/java/org/apache/tomcat/util/net/openssl/OpenSSLStatus.java
+++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLStatus.java
@@ -153,7 +153,7 @@ public class OpenSSLStatus {
 }
 
 /**
- * @return true if running with LibreSSL < 3.5
+ * @return true if running with LibreSSL < 3.5
  */
 public static boolean isLibreSSLPre35() {
 return Name.LIBRESSL.equals(name) && ((majorVersion == 3 && 
minorVersion < 5) || majorVersion < 3);


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix Javadoc mismatch for JspWriterImpl constructor

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 4a07f6b491 Fix Javadoc mismatch for JspWriterImpl constructor
4a07f6b491 is described below

commit 4a07f6b4913597eb543fc3235a34033d5cc825e2
Author: Vincent Yang 
AuthorDate: Sun Jan 4 18:46:58 2026 +0800

Fix Javadoc mismatch for JspWriterImpl constructor
---
 java/org/apache/jasper/runtime/JspWriterImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/jasper/runtime/JspWriterImpl.java 
b/java/org/apache/jasper/runtime/JspWriterImpl.java
index a4eba2a153..a8db8a0968 100644
--- a/java/org/apache/jasper/runtime/JspWriterImpl.java
+++ b/java/org/apache/jasper/runtime/JspWriterImpl.java
@@ -52,7 +52,7 @@ public class JspWriterImpl extends JspWriter {
  * @param autoFlush true to automatically flush on buffer 
full, false to throw an overflow
  *  exception in that case
  *
- * @exception IllegalArgumentException If sz is <= 0
+ * @exception IllegalArgumentException If sz is < 0
  */
 public JspWriterImpl(ServletResponse response, int sz, boolean autoFlush) {
 super(sz, autoFlush);


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix Javadoc

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 66ec0d2a73 Fix Javadoc
66ec0d2a73 is described below

commit 66ec0d2a737066c5f0ff27aeed06d1428bd2f445
Author: Mark Thomas 
AuthorDate: Fri Nov 28 15:20:34 2025 +

Fix Javadoc
---
 java/org/apache/catalina/authenticator/SingleSignOn.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/org/apache/catalina/authenticator/SingleSignOn.java 
b/java/org/apache/catalina/authenticator/SingleSignOn.java
index e28313f014..f91e782194 100644
--- a/java/org/apache/catalina/authenticator/SingleSignOn.java
+++ b/java/org/apache/catalina/authenticator/SingleSignOn.java
@@ -76,6 +76,7 @@ import org.apache.tomcat.util.res.StringManager;
  * connection, request them from the user agent.
  * SPNEGO - call the realm using the plain text user name and password 
cached by the SSO Valve if available. If not
  * cached, request authentication credentials from the user agent.
+ * 
  * Note that this means that enabling reauthentication only makes sense if 
there are two or more web applications in the
  * Host that use BASIC, FORM or SPNEGO. If that is not the case, the SSO Valve 
will just add processing overhead.
  */


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix Javadoc

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new a39573c24f Fix Javadoc
a39573c24f is described below

commit a39573c24f5ecf93fab7b45f7a8cac897ef95b9a
Author: Mark Thomas 
AuthorDate: Fri Mar 28 18:27:41 2025 +

Fix Javadoc
---
 java/org/apache/jasper/compiler/Node.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/jasper/compiler/Node.java 
b/java/org/apache/jasper/compiler/Node.java
index fb79e6916b..b5b70b4926 100644
--- a/java/org/apache/jasper/compiler/Node.java
+++ b/java/org/apache/jasper/compiler/Node.java
@@ -2131,7 +2131,7 @@ public abstract class Node implements TagConstants {
 /**
  * Only makes sense if namedAttribute is false.
  *
- * @return the value for the attribute, or the expression string 
(stripped of "<%=", "%>", "%=", or "%" but
+ * @return the value for the attribute, or the expression string 
(stripped of "<%=", "%>", "%=", or "%" but
  * containing "${" and "}" for EL expressions)
  */
 public String getValue() {


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix Javadoc warning

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 639ba60ad9 Fix Javadoc warning
639ba60ad9 is described below

commit 639ba60ad9099c2642d47721ae4097330e263728
Author: Mark Thomas 
AuthorDate: Mon Mar 10 10:48:05 2025 +

Fix Javadoc warning
---
 java/org/apache/catalina/valves/ExtendedAccessLogValve.java | 10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/java/org/apache/catalina/valves/ExtendedAccessLogValve.java 
b/java/org/apache/catalina/valves/ExtendedAccessLogValve.java
index 42d10ec7ae..9930f0cf45 100644
--- a/java/org/apache/catalina/valves/ExtendedAccessLogValve.java
+++ b/java/org/apache/catalina/valves/ExtendedAccessLogValve.java
@@ -90,18 +90,15 @@ public class ExtendedAccessLogValve extends AccessLogValve {
 //  Private Methods
 
 /**
- * Wrap the incoming value with double quotes (") and escape any double 
quotes appearing in the value using two
- * double quotes ("").
+ * Calls toString() on the object, wraps the result with double quotes (") 
and writes the result to the buffer. Any
+ * double quotes appearing in the value are escaped using two double 
quotes (""). If the value is null or if
+ * toString() fails, '-' will be written to the buffer.
  *
  * @param value - The value to wrap
  * @param buf the buffer to write to
- *
- * @return '-' if null. Otherwise, toString() will be called on the object 
and the value will be wrapped in quotes
- * and any quotes will be escaped with 2 sets of quotes.
  */
 static void wrap(Object value, CharArrayWriter buf) {
 String svalue;
-// Does the value contain a " ? If so must encode it
 if (value == null || "-".equals(value)) {
 buf.append('-');
 return;
@@ -118,6 +115,7 @@ public class ExtendedAccessLogValve extends AccessLogValve {
 
 buf.append('\"');
 if (!svalue.isEmpty()) {
+// Does the value contain a " ? If so must encode it
 escapeAndAppend(svalue, buf, true);
 }
 buf.append('\"');


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix javadoc

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new b7d8583a59 Fix javadoc
b7d8583a59 is described below

commit b7d8583a591af736e0c15baf9c59047415741c8a
Author: remm 
AuthorDate: Fri May 24 15:27:39 2024 +0200

Fix javadoc
---
 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 1b5a4051ac..b184cf2368 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -133,7 +133,7 @@ import org.xml.sax.SAXException;
  * 
  * There are some known limitations of this Servlet due to it not implementing 
the PROPPATCH method. Details of these
  * limitations and progress towards addressing them are being tracked under
- * https://bz.apache.org/bugzilla/show_bug.cgi?id=69046>bug 
69046.
+ * https://bz.apache.org/bugzilla/show_bug.cgi?id=69046";>bug 
69046.
  * 
  *
  * @see https://tools.ietf.org/html/rfc4918";>RFC 4918


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



(tomcat) branch 9.0.x updated: Fix javadoc

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 81799802fe Fix javadoc
81799802fe is described below

commit 81799802fefecdde8f277094eb79b74725245ad9
Author: remm 
AuthorDate: Mon Feb 5 12:57:26 2024 +0100

Fix javadoc
---
 java/org/apache/catalina/filters/CsrfPreventionFilter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/filters/CsrfPreventionFilter.java 
b/java/org/apache/catalina/filters/CsrfPreventionFilter.java
index 9872c74c07..4cdc3aafc7 100644
--- a/java/org/apache/catalina/filters/CsrfPreventionFilter.java
+++ b/java/org/apache/catalina/filters/CsrfPreventionFilter.java
@@ -225,7 +225,7 @@ public class CsrfPreventionFilter extends 
CsrfPreventionFilterBase {
  */bar/*.
  *
  * @return A Predicate which can match the specified pattern, or
- * >null if the pattern is null or blank.
+ * null if the pattern is null or blank.
  */
 protected static Predicate createNoNoncePredicate(ServletContext 
context, String pattern) {
 if (null == pattern || 0 == pattern.trim().length()) {


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix javadoc warning (for branches built with Java 11)

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 520b2f22a0 Fix javadoc warning (for branches built with Java 11)
520b2f22a0 is described below

commit 520b2f22a03ab913798d82eed878e3e56fe7cd0f
Author: remm 
AuthorDate: Mon Oct 9 23:29:08 2023 +0200

Fix javadoc warning (for branches built with Java 11)
---
 java/org/apache/catalina/security/TLSCertificateReloadListener.java | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/java/org/apache/catalina/security/TLSCertificateReloadListener.java 
b/java/org/apache/catalina/security/TLSCertificateReloadListener.java
index d9fe20f462..0596732575 100644
--- a/java/org/apache/catalina/security/TLSCertificateReloadListener.java
+++ b/java/org/apache/catalina/security/TLSCertificateReloadListener.java
@@ -40,7 +40,6 @@ import org.apache.tomcat.util.res.StringManager;
  * 
  * This listener does NOT re-read the Tomcat configuration from 
server.xml. If you make changes to server.xml you
  * must restart the Tomcat process to pick up those changes.
- * 
  */
 public class TLSCertificateReloadListener implements LifecycleListener {
 


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc to reflect the change in default formatter

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

lihan pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 932a2364b5 Fix Javadoc to reflect the change in default formatter
932a2364b5 is described below

commit 932a2364b563df11afb76df8a045e635bac8325e
Author: zsrv <[email protected]>
AuthorDate: Sat Nov 5 16:01:00 2022 -0400

Fix Javadoc to reflect the change in default formatter
---
 java/org/apache/juli/FileHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/juli/FileHandler.java 
b/java/org/apache/juli/FileHandler.java
index 43114597a5..30a47a84a4 100644
--- a/java/org/apache/juli/FileHandler.java
+++ b/java/org/apache/juli/FileHandler.java
@@ -85,7 +85,7 @@ import java.util.regex.Pattern;
  *implementation class name for this Handler. Default value: unset
  *   formatter - The java.util.logging.Formatter
  *implementation class name for this Handler. Default value:
- *java.util.logging.SimpleFormatter
+ *org.apache.juli.OneLineFormatter
  *   maxDays - The maximum number of days to keep the log
  *files. If the specified value is <=0 then the log files
  *will be kept on the file system forever, otherwise they will be kept the


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc related build failure when building with Java 19

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 1d3e328723 Fix Javadoc related build failure when building with Java 19
1d3e328723 is described below

commit 1d3e328723b6ac4ac1ddb97210a68e294903dc30
Author: Mark Thomas 
AuthorDate: Thu Oct 20 15:01:21 2022 +0100

Fix Javadoc related build failure when building with Java 19
---
 java/javax/el/ELResolver.java| 12 
 java/javax/servlet/jsp/el/ScopedAttributeELResolver.java |  9 +
 java/javax/servlet/jsp/tagext/JspFragment.java   |  7 +++
 3 files changed, 28 insertions(+)

diff --git a/java/javax/el/ELResolver.java b/java/javax/el/ELResolver.java
index 0e438ec310..a43425eee3 100644
--- a/java/javax/el/ELResolver.java
+++ b/java/javax/el/ELResolver.java
@@ -29,6 +29,9 @@ public abstract class ELResolver {
 public static final String RESOLVABLE_AT_DESIGN_TIME = 
"resolvableAtDesignTime";
 
 /**
+ * Obtain the value of the given property on the given object using the
+ * given context.
+ *
  * @param context The EL context for this evaluation
  * @param base The base object on which the property is to be found
  * @param property The property whose value is to be returned
@@ -65,6 +68,9 @@ public abstract class ELResolver {
 }
 
 /**
+ * Obtain the type of the given property on the given object using the 
given
+ * context.
+ *
  * @param context The EL context for this evaluation
  * @param base The base object on which the property is to be found
  * @param property The property whose type is to be returned
@@ -82,6 +88,9 @@ public abstract class ELResolver {
 Object property);
 
 /**
+ * Set the value of the given property on the given object using the given
+ * context.
+ *
  * @param context  The EL context for this evaluation
  * @param base The base object on which the property is to be found
  * @param property The property whose value is to be set
@@ -102,6 +111,9 @@ public abstract class ELResolver {
 Object property, Object value);
 
 /**
+ * Determine if the given property on the given object is read-only using
+ * the given context.
+ *
  * @param context The EL context for this evaluation
  * @param base The base object on which the property is to be found
  * @param property The property to be checked for read only status
diff --git a/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java 
b/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java
index b5481add86..6f709b3359 100644
--- a/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java
+++ b/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java
@@ -31,6 +31,8 @@ import javax.servlet.jsp.JspContext;
 import javax.servlet.jsp.PageContext;
 
 /**
+ * An ELResolver for working with JSP scoped attributes which may have page,
+ * request, session or application scope.
  *
  * @since JSP 2.1
  */
@@ -50,6 +52,13 @@ public class ScopedAttributeELResolver extends ELResolver {
 AST_IDENTIFIER_KEY = key;
 }
 
+/**
+ * Default constructor.
+ */
+public ScopedAttributeELResolver() {
+super();
+}
+
 @Override
 public Object getValue(ELContext context, Object base, Object property) {
 Objects.requireNonNull(context);
diff --git a/java/javax/servlet/jsp/tagext/JspFragment.java 
b/java/javax/servlet/jsp/tagext/JspFragment.java
index 9faf8d023f..16eee7cb32 100644
--- a/java/javax/servlet/jsp/tagext/JspFragment.java
+++ b/java/javax/servlet/jsp/tagext/JspFragment.java
@@ -54,6 +54,13 @@ import javax.servlet.jsp.JspException;
  */
 public abstract class JspFragment {
 
+/**
+ * Default constructor.
+ */
+public JspFragment() {
+// NO-OP by default
+}
+
 /**
  * Executes the fragment and directs all output to the given Writer,
  * or the JspWriter returned by the getOut() method of the JspContext


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc error. Origin is URI as a String, not a URI.

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 97451f71f5 Fix Javadoc error. Origin is URI as a String, not a URI.
97451f71f5 is described below

commit 97451f71f5cc64be490ec00514cd0a1b8eb4f2d6
Author: Mark Thomas 
AuthorDate: Thu Oct 6 14:39:46 2022 +0100

Fix Javadoc error. Origin is URI as a String, not a URI.
---
 java/org/apache/catalina/filters/CorsFilter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/filters/CorsFilter.java 
b/java/org/apache/catalina/filters/CorsFilter.java
index 442772e0a9..5ad6dbb3e3 100644
--- a/java/org/apache/catalina/filters/CorsFilter.java
+++ b/java/org/apache/catalina/filters/CorsFilter.java
@@ -794,7 +794,7 @@ public class CorsFilter extends GenericFilter {
  * 
  * If an encoded character is present in origin, it's not valid.
  * If origin is "null", it's valid.
- * Origin should be a valid {@link URI}
+ * Origin should be a valid URI
  * 
  *
  * @param origin The origin URI


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc typo

2022-09-27 Thread lihan
This is an automated email from the ASF dual-hosted git repository.

lihan pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new d6e9d0afbf Fix Javadoc typo
d6e9d0afbf is described below

commit d6e9d0afbf2d0b178b09cef662cee3511509b6cf
Author: lihan 
AuthorDate: Wed Sep 28 11:26:21 2022 +0800

Fix Javadoc typo
---
 java/org/apache/tomcat/util/net/AbstractEndpoint.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java 
b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 6624ddae88..9a5eda429e 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -358,7 +358,7 @@ public abstract class AbstractEndpoint {
 }
 
 /**
- * Create the SSLContextfor the the given SSLHostConfig.
+ * Create the SSLContext for the given SSLHostConfig.
  *
  * @param sslHostConfig The SSLHostConfig for which the SSLContext should 
be
  *  created


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc typo

2022-08-25 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 831a674f7c Fix Javadoc typo
831a674f7c is described below

commit 831a674f7c12351cc3b537e899e7f20cb4d954ad
Author: Mark Thomas 
AuthorDate: Thu Aug 25 17:26:53 2022 +0100

Fix Javadoc typo
---
 java/org/apache/coyote/http11/AbstractHttp11Protocol.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http11/AbstractHttp11Protocol.java 
b/java/org/apache/coyote/http11/AbstractHttp11Protocol.java
index 5f7d144536..63edf18c6e 100644
--- a/java/org/apache/coyote/http11/AbstractHttp11Protocol.java
+++ b/java/org/apache/coyote/http11/AbstractHttp11Protocol.java
@@ -254,7 +254,7 @@ public abstract class AbstractHttp11Protocol extends 
AbstractProtocol {
  * CLIENT-CERT authentication. When a POST is received where the security
  * constraints require a client certificate, the POST body needs to be
  * buffered while an SSL handshake takes place to obtain the certificate. A
- * similar buffering is required during FDORM auth.
+ * similar buffering is required during FORM auth.
  *
  * @param maxSavePostSize The maximum size POST body to buffer in bytes
  */


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc warnings that broke the build

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new c6768c2  Fix Javadoc warnings that broke the build
c6768c2 is described below

commit c6768c2393d2a9d71585816c1ebb14073618c90d
Author: Mark Thomas 
AuthorDate: Thu Mar 17 19:42:16 2022 +

Fix Javadoc warnings that broke the build
---
 java/org/apache/catalina/realm/DigestCredentialHandlerBase.java | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/catalina/realm/DigestCredentialHandlerBase.java 
b/java/org/apache/catalina/realm/DigestCredentialHandlerBase.java
index 122adef..0291df0 100644
--- a/java/org/apache/catalina/realm/DigestCredentialHandlerBase.java
+++ b/java/org/apache/catalina/realm/DigestCredentialHandlerBase.java
@@ -297,8 +297,8 @@ public abstract class DigestCredentialHandlerBase 
implements CredentialHandler {
 /**
  * Implements String equality which always compares all characters in the
  * string, without stopping early if any characters do not match.
- *
- * @implNote
+ * 
+ * Note:
  * This implementation was adapted from {@link MessageDigest#isEqual}
  * which we assume is as optimizer-defeating as possible.
  *
@@ -347,8 +347,8 @@ public abstract class DigestCredentialHandlerBase 
implements CredentialHandler {
 /**
  * Implements byte-array equality which always compares all bytes in the
  * array, without stopping early if any bytes do not match.
- *
- * @implNote
+ * 
+ * Note:
  * Implementation note: this method delegates to {@link 
MessageDigest#isEqual}
  * under the assumption that it provides a constant-time comparison of the
  * bytes in the arrays. Java 7+ has such an implementation, but neither the

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc warnings for Servlet API when building with Java 16

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 21a7a64  Fix Javadoc warnings for Servlet API when building with Java 
16
21a7a64 is described below

commit 21a7a64abf1c426bce2121a338c49c286ef777a5
Author: Mark Thomas 
AuthorDate: Thu Aug 26 11:45:09 2021 +0100

Fix Javadoc warnings for Servlet API when building with Java 16
---
 java/javax/servlet/AsyncContext.java   |  9 +++
 java/javax/servlet/GenericFilter.java  |  3 +
 java/javax/servlet/MultipartConfigElement.java | 50 -
 java/javax/servlet/Registration.java   | 11 +++
 java/javax/servlet/ServletContext.java |  7 ++
 .../servlet/ServletContextAttributeEvent.java  |  7 ++
 java/javax/servlet/ServletRegistration.java| 40 +++
 .../servlet/ServletRequestAttributeEvent.java  |  7 ++
 java/javax/servlet/ServletSecurityElement.java | 16 -
 java/javax/servlet/SessionCookieConfig.java| 37 +-
 java/javax/servlet/SessionTrackingMode.java| 13 
 java/javax/servlet/UnavailableException.java   | 17 -
 .../servlet/descriptor/JspConfigDescriptor.java| 21 +-
 .../descriptor/JspPropertyGroupDescriptor.java | 82 +-
 .../javax/servlet/descriptor/TaglibDescriptor.java | 15 +++-
 java/javax/servlet/http/Cookie.java| 42 +--
 java/javax/servlet/http/HttpServletRequest.java|  5 ++
 .../servlet/http/HttpSessionBindingEvent.java  |  8 ++-
 java/javax/servlet/http/MappingMatch.java  | 22 ++
 19 files changed, 394 insertions(+), 18 deletions(-)

diff --git a/java/javax/servlet/AsyncContext.java 
b/java/javax/servlet/AsyncContext.java
index 9abb6b3..61f5ff1 100644
--- a/java/javax/servlet/AsyncContext.java
+++ b/java/javax/servlet/AsyncContext.java
@@ -59,10 +59,19 @@ public interface AsyncContext {
 public static final String ASYNC_QUERY_STRING =
 "javax.servlet.async.query_string";
 
+/**
+ * @return a reference to the ServletRequest object
+ */
 ServletRequest getRequest();
 
+/**
+ * @return a reference to the ServletResponse object
+ */
 ServletResponse getResponse();
 
+/**
+ * @return true if the Request and Response are the original ones
+ */
 boolean hasOriginalRequestAndResponse();
 
 /**
diff --git a/java/javax/servlet/GenericFilter.java 
b/java/javax/servlet/GenericFilter.java
index f32ac4f..a6232a8 100644
--- a/java/javax/servlet/GenericFilter.java
+++ b/java/javax/servlet/GenericFilter.java
@@ -30,6 +30,9 @@ public abstract class GenericFilter implements Filter, 
FilterConfig, Serializabl
 
 private static final long serialVersionUID = 1L;
 
+/**
+ * The filter configuration.
+ */
 private volatile FilterConfig filterConfig;
 
 
diff --git a/java/javax/servlet/MultipartConfigElement.java 
b/java/javax/servlet/MultipartConfigElement.java
index a2c6c06..3a0952f 100644
--- a/java/javax/servlet/MultipartConfigElement.java
+++ b/java/javax/servlet/MultipartConfigElement.java
@@ -19,8 +19,11 @@ package javax.servlet;
 import javax.servlet.annotation.MultipartConfig;
 
 /**
+ * The programmatic equivalent of
+ * {@link javax.servlet.annotation.MultipartConfig} used to configure
+ * multi-part handling for a Servlet when registering a Servlet via code.
+ *
  * @since Servlet 3.0
- * TODO SERVLET3 - Add comments
  */
 public class MultipartConfigElement {
 
@@ -29,6 +32,12 @@ public class MultipartConfigElement {
 private final long maxRequestSize;// = -1;
 private final int fileSizeThreshold;// = 0;
 
+/**
+ * Create a programmatic multi-part configuration with a specific location
+ * and defaults for the remaining configuration elements.
+ *
+ * @param location  The temporary location to store files
+ */
 public MultipartConfigElement(String location) {
 // Keep empty string default if location is null
 if (location != null) {
@@ -41,6 +50,17 @@ public class MultipartConfigElement {
 this.fileSizeThreshold = 0;
 }
 
+/**
+ * Create a programmatic multi-part configuration from the individual
+ * configuration elements.
+ *
+ * @param location  The temporary location to store files
+ * @param maxFileSize   The maximum permitted size for a single file
+ * @param maxRequestSizeThe maximum permitted size for a request
+ * @param fileSizeThreshold The size above which the file is save in the
+ *  temporary location rather than retained in
+ *  memory.
+ */
 public MultipartConfigElement(String location, long maxFileSize,
 long maxRequestSize, int fileSizeThreshold) {
 // Keep 

[tomcat] branch 9.0.x updated: Fix Javadoc warning

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 88f853d  Fix Javadoc warning
88f853d is described below

commit 88f853d54d87f0f0ddb6b04563e1a0c7d082f44b
Author: Mark Thomas 
AuthorDate: Tue Aug 17 15:49:33 2021 +0100

Fix Javadoc warning
---
 java/org/apache/catalina/authenticator/AuthenticatorBase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/authenticator/AuthenticatorBase.java 
b/java/org/apache/catalina/authenticator/AuthenticatorBase.java
index ad67a4a..2788618 100644
--- a/java/org/apache/catalina/authenticator/AuthenticatorBase.java
+++ b/java/org/apache/catalina/authenticator/AuthenticatorBase.java
@@ -1371,7 +1371,7 @@ public abstract class AuthenticatorBase extends ValveBase
  * Can the authenticator perform preemptive authentication for the given
  * request?
  *
- * @param request
+ * @param request The request to check for credentials
  *
  * @return {@code true} if preemptive authentication is possible, otherwise
  * {@code false}

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 95b72e5  Fix Javadoc
95b72e5 is described below

commit 95b72e541057dab60271d84f0767520636e30edf
Author: Mark Thomas 
AuthorDate: Mon Jul 26 17:59:54 2021 +0100

Fix Javadoc
---
 java/org/apache/catalina/filters/CorsFilter.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/catalina/filters/CorsFilter.java 
b/java/org/apache/catalina/filters/CorsFilter.java
index f83e2b8..17620a2 100644
--- a/java/org/apache/catalina/filters/CorsFilter.java
+++ b/java/org/apache/catalina/filters/CorsFilter.java
@@ -75,13 +75,13 @@ import org.apache.tomcat.util.res.StringManager;
  * 'Access-Control-Request-Headers' header, for pre-flight request.
  * 
  *
- * @see http://www.w3.org/TR/cors/";>CORS specification
- *
  * If you extend this class and override one or more of the getXxx() methods,
  * consider whether you also need to override
  * {@link CorsFilter#doFilter(ServletRequest, ServletResponse, FilterChain)} 
and
  * add appropriate locking so that the {@code doFilter()} method executes with 
a
  * consistent configuration.
+ *
+ * @see http://www.w3.org/TR/cors/";>CORS specification
  */
 public class CorsFilter extends GenericFilter {
 

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc (and CI build)

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 17c3c21  Fix Javadoc (and CI build)
17c3c21 is described below

commit 17c3c21a18a0e7009aaecb214796ffcc36bbd8db
Author: Mark Thomas 
AuthorDate: Wed Jun 23 15:51:59 2021 +0100

Fix Javadoc (and CI build)
---
 java/org/apache/catalina/realm/UserDatabaseRealm.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/java/org/apache/catalina/realm/UserDatabaseRealm.java 
b/java/org/apache/catalina/realm/UserDatabaseRealm.java
index 27e8b6a..e76adbd 100644
--- a/java/org/apache/catalina/realm/UserDatabaseRealm.java
+++ b/java/org/apache/catalina/realm/UserDatabaseRealm.java
@@ -292,6 +292,8 @@ public class UserDatabaseRealm extends RealmBase {
 /**
  * Magic method from {@link java.io.Serializable}.
  *
+ * @return The object to serialize instead of this object
+ *
  * @throws ObjectStreamException Not thrown by this implementation
  */
 private Object writeReplace() throws ObjectStreamException {

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x 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 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 8ed432b  Fix Javadoc errors
8ed432b is described below

commit 8ed432b3a62157ce766dc76c4deb8579bd1e6bba
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 0550496..65be925 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: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x 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 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 8c54d97  Fix javadoc after changes
8c54d97 is described below

commit 8c54d978a992c8b615e53513cafea0d209b97ead
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 9b991ba..73a109f 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: [email protected]
For additional commands, e-mail: [email protected]



Re: [tomcat] branch 9.0.x updated: Fix Javadoc build error and ensure 'ant clean javadoc' works

2020-09-18 Thread Mark Thomas
On 18/09/2020 22:37, [email protected] wrote:
> This is an automated email from the ASF dual-hosted git repository.
> 
> markt pushed a commit to branch 9.0.x
> in repository https://gitbox.apache.org/repos/asf/tomcat.git
> 
> 
> The following commit(s) were added to refs/heads/9.0.x by this push:
>  new 33e874f  Fix Javadoc build error and ensure 'ant clean javadoc' works
> 33e874f is described below
> 
> commit 33e874fa31e6c411421ad1304dfa65f30bd58958
> Author: Mark Thomas 
> AuthorDate: Fri Sep 18 22:27:15 2020 +0100
> 
> Fix Javadoc build error and ensure 'ant clean javadoc' works



> diff --git a/build.xml b/build.xml
> index 7c65d25..8c0e40c 100644
> --- a/build.xml
> +++ b/build.xml
> @@ -222,6 +222,7 @@
>
>
>  
> +
>  
>  
>  



In case you are wondering, this doesn't impact the license or notice
files because:
- it is only used by the Javadoc task to avoid a warning
- it is ALv2 licensed

Mark

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc build error and ensure 'ant clean javadoc' works

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 33e874f  Fix Javadoc build error and ensure 'ant clean javadoc' works
33e874f is described below

commit 33e874fa31e6c411421ad1304dfa65f30bd58958
Author: Mark Thomas 
AuthorDate: Fri Sep 18 22:27:15 2020 +0100

Fix Javadoc build error and ensure 'ant clean javadoc' works
---
 build.properties.default | 13 +
 build.xml| 18 +++---
 2 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index 2d65f9d..e1a18ad 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -298,3 +298,16 @@ 
bnd.checksum.value=0dc5ff0af222ef075b5b0dd488f6aeac|0e542cf0f928107c17ce65f3c68d
 bnd.home=${base.path}/bnd-${bnd.version}
 bnd.jar=${bnd.home}/biz.aQute.bnd-${bnd.version}.jar
 
bnd.loc=${base-maven.loc}/biz/aQute/bnd/biz.aQute.bnd/${bnd.version}/biz.aQute.bnd-${bnd.version}.jar
+
+# - OSGi annotations bundle, version 1.0.0 or later-
+# - required to avoid Javadoc error when using bnd annotations -
+osgi-annotations.version=1.0.0
+
+# checksums for biz.aQute.bnd-5.1.1.jar
+osgi-annotations.checksum.enabled=true
+osgi-annotations.checksum.algorithm=MD5|SHA-1
+osgi-annotations.checksum.value=153054f987534244f95a399539b11375|b6e802bceba0682353466abf8fadbbd662b2f7f8
+
+osgi-annotations.home=${base.path}/osgi-annotations-${osgi-annotations.version}
+osgi-annotations.jar=${osgi-annotations.home}/org.osgi.annotation.bundle-${osgi-annotations.version}.jar
+osgi-annotations.loc=${base-maven.loc}/org/osgi/org.osgi.annotation.bundle/${osgi-annotations.version}/org.osgi.annotation.bundle-${osgi-annotations.version}.jar
diff --git a/build.xml b/build.xml
index 7c65d25..8c0e40c 100644
--- a/build.xml
+++ b/build.xml
@@ -222,6 +222,7 @@
   
   
 
+
 
 
 
@@ -940,7 +941,7 @@
 
   
 
-  
+  
 
 
 
-  
 
 
 
+   
   
   
   
@@ -3052,7 +3054,8 @@ skip.installer property in build.properties" />
   
 
   
+  description="Download components necessary to compile"
+ depends="setup-bnd">
 
 
 
@@ -3597,6 +3600,15 @@ Read the Building page on the Apache Tomcat 
documentation site for details on ho
   
   
 
+
+
+  
+  
+  
+  
+  
+  
+
   
 
   


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix javadoc

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 5d40b63  Fix javadoc
5d40b63 is described below

commit 5d40b631f33bc35cb6307f41c073792e8f08c414
Author: Mark Thomas 
AuthorDate: Sat Sep 5 17:25:43 2020 +0100

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

diff --git a/java/org/apache/coyote/AbstractProcessor.java 
b/java/org/apache/coyote/AbstractProcessor.java
index fbd3cd1..7255040 100644
--- a/java/org/apache/coyote/AbstractProcessor.java
+++ b/java/org/apache/coyote/AbstractProcessor.java
@@ -724,7 +724,7 @@ public abstract class AbstractProcessor extends 
AbstractProcessorLight implement
 
 /**
  * @deprecated Unused. This will be removed in Tomcat 10 onwards. Use
- * @{link {@link #ack(ContinueResponseTiming)}.
+ * {@link #ack(ContinueResponseTiming)}.
  */
 @Deprecated
 protected void ack() {


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[tomcat] branch 9.0.x updated: Fix Javadoc

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new b0a7456  Fix Javadoc
b0a7456 is described below

commit b0a7456b5fe1c2b6da36a6b6e825d0a0fe2b57e5
Author: Mark Thomas 
AuthorDate: Mon Aug 17 17:26:30 2020 +0100

Fix Javadoc
---
 java/org/apache/catalina/connector/ClientAbortException.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/catalina/connector/ClientAbortException.java 
b/java/org/apache/catalina/connector/ClientAbortException.java
index c02a208..fa469f9 100644
--- a/java/org/apache/catalina/connector/ClientAbortException.java
+++ b/java/org/apache/catalina/connector/ClientAbortException.java
@@ -19,8 +19,8 @@ package org.apache.catalina.connector;
 import java.io.IOException;
 
 /**
- * Wrap an IOException identifying it as being caused by an abort
- * of a request by a remote client.
+ * Extend IOException to identify it as being caused by an abort of a request 
by
+ * a remote client.
  *
  * @author Glenn L. Nielsen
  */


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]