RFR: 8141546 Fix typo in javadoc for Connection

Lance Andersen lance.andersen at oracle.com
Thu Nov 5 16:04:37 UTC 2015


Hi,

Need a quick review to fix a javadoc issue that I missed (thought I ran -Xdoclint but did not)

Best
Lance

[ljanders-mac:classes/java/sql] ljanders% javac -Xdoclint Connection.java 
[ljanders-mac:classes/java/sql] ljanders% hg diff Connection.java 
diff -r 67d91e7479c1 src/java.sql/share/classes/java/sql/Connection.java
--- a/src/java.sql/share/classes/java/sql/Connection.java	Thu Nov 05 10:37:08 2015 -0500
+++ b/src/java.sql/share/classes/java/sql/Connection.java	Thu Nov 05 10:52:27 2015 -0500
@@ -1540,7 +1540,7 @@
      * @throws SQLException if an error occurs
      * @since 1.9
      * @see endRequest
-     * @see PooledConnection
+     * @see javax.sql.PooledConnection
      */
     default void beginRequest() throws SQLException {
        // Default method takes no action
@@ -1570,7 +1570,7 @@
      * <p>
      * The pooling manager should call {@code endRequest} on the underlying connection
      * when the applications returns the connection back to the connection pool.
-     * <p<
+     * <p>
      * The pooling manager does not need to call {@code endRequest} if:
      * <ul>
      * <li>The connection pool caches {@code PooledConnection} objects</li>
@@ -1582,7 +1582,7 @@
      * @throws SQLException if an error occurs
      * @since 1.9
      * @see beginRequest
-     * @see PooledConnection
+     * @see javax.sql.PooledConnection
      */
     default void endRequest() throws SQLException {
             // Default method takes no action
[ljanders-mac:classes/java/sql] ljanders% 



Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com






More information about the core-libs-dev mailing list