This is an automated email from the ASF dual-hosted git repository.

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

commit 91b26982942e942b356ea3467573b767b8edbbd1
Author: opencode <[email protected]>
AuthorDate: Tue Nov 3 12:37:24 2026 +0100

    Fix the broken @link to getXAConnection in PooledConnection
    
    A documentation-hardening commit on this class wrote the cross-reference
    as {@link #getXaConnection()} while the method is getXAConnection(), and
    the mismatched case makes the reference unresolvable. Under doclint the
    unresolvable reference is an error - it fails the module's javadoc build
    outright, not just that page - and the generated documentation carries a
    diagnostic marker where the link should be. Correct the case so the
    reference resolves and the javadoc build returns to succeeding.
---
 .../src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 a9a4e1c1ac..0d106907e0 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
@@ -1419,7 +1419,7 @@ public class PooledConnection implements 
PooledConnectionMBean {
      * Returns the underlying connection: the session the pool established for 
this entry, not a logical handle created
      * on demand. On a CPDS-configured pool the {@link 
javax.sql.PooledConnection} handle that creates such logical
      * handles is the separate <code>cpdsConnection</code> this class keeps, 
just as the XA handle is
-     * {@link #getXaConnection()}.
+     * {@link #getXAConnection()}.
      *
      * @return the underlying JDBC connection as it was returned from the JDBC 
driver
      */


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

Reply via email to