commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1612153 - in /commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2: cpdsadapter/PooledConnectionImpl.java datasources/KeyedCPDSConnectionFactory.java
Date Sun, 20 Jul 2014 19:03:05 GMT
Author: ggregory
Date: Sun Jul 20 19:03:04 2014
New Revision: 1612153

URL: http://svn.apache.org/r1612153
Log:
Fix bogus Javadoc "{*link " -> "{@link ".

Modified:
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/datasources/KeyedCPDSConnectionFactory.java

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java?rev=1612153&r1=1612152&r2=1612153&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
Sun Jul 20 19:03:04 2014
@@ -79,7 +79,7 @@ class PooledConnectionImpl implements Po
      */
     private boolean isClosed;
 
-    /** My pool of {*link PreparedStatement}s. */
+    /** My pool of {@link PreparedStatement}s. */
     private KeyedObjectPool<PStmtKeyCPDS, PoolablePreparedStatement<PStmtKeyCPDS>>
pstmtPool = null;
 
     /**
@@ -361,14 +361,14 @@ class PooledConnectionImpl implements Po
     }
 
     /**
-     * Create a {*link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Create a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
      */
     protected PStmtKeyCPDS createKey(String sql, int autoGeneratedKeys) {
         return new PStmtKeyCPDS(normalizeSQL(sql), autoGeneratedKeys);
     }
 
     /**
-     * Create a {*link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Create a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
      */
     protected PStmtKeyCPDS createKey(String sql, int resultSetType,
             int resultSetConcurrency, int resultSetHoldability) {
@@ -377,21 +377,21 @@ class PooledConnectionImpl implements Po
     }
 
     /**
-     * Create a {*link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Create a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
      */
     protected PStmtKeyCPDS createKey(String sql, int columnIndexes[]) {
         return new PStmtKeyCPDS(normalizeSQL(sql), columnIndexes);
     }
 
     /**
-     * Create a {*link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Create a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
      */
     protected PStmtKeyCPDS createKey(String sql, String columnNames[]) {
         return new PStmtKeyCPDS(normalizeSQL(sql), columnNames);
     }
 
     /**
-     * Create a {*link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Create a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
      */
     protected PStmtKeyCPDS createKey(String sql, int resultSetType,
                                int resultSetConcurrency) {
@@ -400,7 +400,7 @@ class PooledConnectionImpl implements Po
     }
 
     /**
-     * Create a {*link PooledConnectionImpl.PStmtKey} for the given arguments.
+     * Create a {@link PooledConnectionImpl.PStmtKey} for the given arguments.
      */
     protected PStmtKeyCPDS createKey(String sql) {
         return new PStmtKeyCPDS(normalizeSQL(sql));
@@ -415,9 +415,9 @@ class PooledConnectionImpl implements Po
     }
 
     /**
-     * My {*link KeyedPoolableObjectFactory} method for creating
-     * {*link PreparedStatement}s.
-     * @param key the key for the {*link PreparedStatement} to be created
+     * My {@link KeyedPoolableObjectFactory} method for creating
+     * {@link PreparedStatement}s.
+     * @param key the key for the {@link PreparedStatement} to be created
      */
     @Override
     public PooledObject<PoolablePreparedStatement<PStmtKeyCPDS>> makeObject(PStmtKeyCPDS
key) throws Exception {
@@ -445,10 +445,10 @@ class PooledConnectionImpl implements Po
     }
 
     /**
-     * My {*link KeyedPoolableObjectFactory} method for destroying
-     * {*link PreparedStatement}s.
+     * My {@link KeyedPoolableObjectFactory} method for destroying
+     * {@link PreparedStatement}s.
      * @param key ignored
-     * @param p the wrapped {*link PreparedStatement} to be destroyed.
+     * @param p the wrapped {@link PreparedStatement} to be destroyed.
      */
     @Override
     public void destroyObject(PStmtKeyCPDS key,
@@ -458,8 +458,8 @@ class PooledConnectionImpl implements Po
     }
 
     /**
-     * My {*link KeyedPoolableObjectFactory} method for validating
-     * {*link PreparedStatement}s.
+     * My {@link KeyedPoolableObjectFactory} method for validating
+     * {@link PreparedStatement}s.
      * @param key ignored
      * @param p ignored
      * @return {@code true}
@@ -471,8 +471,8 @@ class PooledConnectionImpl implements Po
     }
 
     /**
-     * My {*link KeyedPoolableObjectFactory} method for activating
-     * {*link PreparedStatement}s.
+     * My {@link KeyedPoolableObjectFactory} method for activating
+     * {@link PreparedStatement}s.
      * @param key ignored
      * @param p ignored
      */
@@ -484,10 +484,10 @@ class PooledConnectionImpl implements Po
     }
 
     /**
-     * My {*link KeyedPoolableObjectFactory} method for passivating
-     * {*link PreparedStatement}s.  Currently invokes {*link PreparedStatement#clearParameters}.
+     * My {@link KeyedPoolableObjectFactory} method for passivating
+     * {@link PreparedStatement}s.  Currently invokes {@link PreparedStatement#clearParameters}.
      * @param key ignored
-     * @param p a wrapped {*link PreparedStatement}
+     * @param p a wrapped {@link PreparedStatement}
      */
     @Override
     public void passivateObject(PStmtKeyCPDS key,

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/datasources/KeyedCPDSConnectionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/datasources/KeyedCPDSConnectionFactory.java?rev=1612153&r1=1612152&r2=1612153&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/datasources/KeyedCPDSConnectionFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/datasources/KeyedCPDSConnectionFactory.java
Sun Jul 20 19:03:04 2014
@@ -38,8 +38,8 @@ import org.apache.commons.pool2.PooledOb
 import org.apache.commons.pool2.impl.DefaultPooledObject;
 
 /**
- * A {*link PoolableObjectFactory} that creates
- * {*link PoolableConnection}s.
+ * A {@link PoolableObjectFactory} that creates
+ * {@link PoolableConnection}s.
  *
  * @author John D. McNally
  * @version $Revision$ $Date$



Mime
View raw message