Repository: commons-dbcp Updated Branches: refs/heads/master 141898277 -> 0bc25b8c7
Remove trailing white spaces on all lines. Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/0bc25b8c Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/0bc25b8c Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/0bc25b8c Branch: refs/heads/master Commit: 0bc25b8c73cf0ba7ee5e727cfb34ad4b78e5bf08 Parents: 1418982 Author: Gary Gregory <garydgreg...@gmail.com> Authored: Mon Jun 11 11:51:34 2018 -0600 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Mon Jun 11 11:51:34 2018 -0600 ---------------------------------------------------------------------- .../dbcp2/DelegatingDatabaseMetaData.java | 8 +++--- .../commons/dbcp2/DelegatingStatement.java | 6 ++--- .../dbcp2/PoolableConnectionFactory.java | 16 ++++++------ .../apache/commons/dbcp2/PoolingConnection.java | 26 ++++++++++---------- .../apache/commons/dbcp2/PoolingDataSource.java | 14 +++++------ 5 files changed, 35 insertions(+), 35 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/0bc25b8c/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java b/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java index 45bde11..b20cbc5 100644 --- a/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java +++ b/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java @@ -30,7 +30,7 @@ import java.sql.SQLException; * Methods that create {@link ResultSet} objects are wrapped to create {@link DelegatingResultSet} objects and the * remaining methods simply call the corresponding method on the "delegate" provided in the constructor. * </p> - * + * * @since 2.0 */ public class DelegatingDatabaseMetaData implements DatabaseMetaData { @@ -43,7 +43,7 @@ public class DelegatingDatabaseMetaData implements DatabaseMetaData { /** * Constructs a new instance for the given delegating connection and database meta data. - * + * * @param connection * the delegating connection * @param databaseMetaData @@ -57,7 +57,7 @@ public class DelegatingDatabaseMetaData implements DatabaseMetaData { /** * Gets the underlying database meta data. - * + * * @return The underlying database meta data. */ public DatabaseMetaData getDelegate() { @@ -75,7 +75,7 @@ public class DelegatingDatabaseMetaData implements DatabaseMetaData { * This method is useful when you may have nested {@code DelegatingResultSet}s, and you want to make sure to obtain * a "genuine" {@link ResultSet}. * </p> - * + * * @return the innermost database meta data. */ public DatabaseMetaData getInnermostDelegate() { http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/0bc25b8c/src/main/java/org/apache/commons/dbcp2/DelegatingStatement.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/dbcp2/DelegatingStatement.java b/src/main/java/org/apache/commons/dbcp2/DelegatingStatement.java index 0d6fb2c..9753d78 100644 --- a/src/main/java/org/apache/commons/dbcp2/DelegatingStatement.java +++ b/src/main/java/org/apache/commons/dbcp2/DelegatingStatement.java @@ -67,7 +67,7 @@ public class DelegatingStatement extends AbandonedTrace implements Statement { /** * Returns my underlying {@link Statement}. - * + * * @return my underlying {@link Statement}. * @see #getInnermostDelegate */ @@ -88,7 +88,7 @@ public class DelegatingStatement extends AbandonedTrace implements Statement { * a "genuine" {@link Statement}. * </p> * @return The innermost delegate. - * + * * @see #getDelegate */ public Statement getInnermostDelegate() { @@ -104,7 +104,7 @@ public class DelegatingStatement extends AbandonedTrace implements Statement { /** * Sets my delegate. - * + * * @param statement my delegate. */ public void setDelegate(final Statement statement) { http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/0bc25b8c/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java b/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java index 67972ce..a73a2b3 100644 --- a/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java +++ b/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java @@ -51,7 +51,7 @@ public class PoolableConnectionFactory implements PooledObjectFactory<PoolableCo /** * Creates a new {@code PoolableConnectionFactory}. - * + * * @param connFactory * the {@link ConnectionFactory} from which to obtain base {@link Connection}s * @param dataSourceJmxObjectName @@ -88,7 +88,7 @@ public class PoolableConnectionFactory implements PooledObjectFactory<PoolableCo /** * Sets the SQL statements I use to initialize newly created {@link Connection}s. Using {@code null} turns off * connection initialization. - * + * * @param connectionInitSqls * SQL statement to initialize {@link Connection}s. */ @@ -98,7 +98,7 @@ public class PoolableConnectionFactory implements PooledObjectFactory<PoolableCo /** * Sets the {@link ObjectPool} in which to pool {@link Connection}s. - * + * * @param pool * the {@link ObjectPool} in which to pool those {@link Connection}s */ @@ -115,7 +115,7 @@ public class PoolableConnectionFactory implements PooledObjectFactory<PoolableCo /** * Returns the {@link ObjectPool} in which {@link Connection}s are pooled. - * + * * @return the connection pool */ public synchronized ObjectPool<PoolableConnection> getPool() { @@ -124,7 +124,7 @@ public class PoolableConnectionFactory implements PooledObjectFactory<PoolableCo /** * Sets the default "read only" setting for borrowed {@link Connection}s - * + * * @param defaultReadOnly * the default "read only" setting for borrowed {@link Connection}s */ @@ -134,7 +134,7 @@ public class PoolableConnectionFactory implements PooledObjectFactory<PoolableCo /** * Sets the default "auto commit" setting for borrowed {@link Connection}s - * + * * @param defaultAutoCommit * the default "auto commit" setting for borrowed {@link Connection}s */ @@ -144,7 +144,7 @@ public class PoolableConnectionFactory implements PooledObjectFactory<PoolableCo /** * Sets the default "Transaction Isolation" setting for borrowed {@link Connection}s - * + * * @param defaultTransactionIsolation * the default "Transaction Isolation" setting for returned {@link Connection}s */ @@ -154,7 +154,7 @@ public class PoolableConnectionFactory implements PooledObjectFactory<PoolableCo /** * Sets the default "catalog" setting for borrowed {@link Connection}s - * + * * @param defaultCatalog * the default "catalog" setting for borrowed {@link Connection}s */ http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/0bc25b8c/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java b/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java index 090849e..6e4376e 100644 --- a/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java +++ b/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java @@ -69,7 +69,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Constructor. - * + * * @param connection * the underlying {@link Connection}. */ @@ -121,7 +121,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates a PStmtKey for the given arguments. - * + * * @param sql * the SQL string used to define the statement */ @@ -147,7 +147,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates a PStmtKey for the given arguments. - * + * * @param sql * the SQL string used to define the statement * @param columnIndexes @@ -165,7 +165,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates a PStmtKey for the given arguments. - * + * * @param sql * the SQL string used to define the statement * @param resultSetType @@ -185,7 +185,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates a PStmtKey for the given arguments. - * + * * @param sql * the SQL string used to define the statement * @param resultSetType @@ -208,7 +208,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates a PStmtKey for the given arguments. - * + * * @param sql * the SQL string used to define the statement * @param resultSetType @@ -233,7 +233,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates a PStmtKey for the given arguments. - * + * * @param sql * the SQL string used to define the statement * @param resultSetType @@ -255,7 +255,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates a PStmtKey for the given arguments. - * + * * @param sql * the SQL string used to define the statement * @param stmtType @@ -273,7 +273,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates a PStmtKey for the given arguments. - * + * * @param sql * the SQL string used to define the statement * @param columnNames @@ -360,7 +360,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates or obtains a {@link CallableStatement} from the pool. - * + * * @param sql * the SQL string used to define the CallableStatement * @return a {@link PoolableCallableStatement} @@ -382,7 +382,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates or obtains a {@link CallableStatement} from the pool. - * + * * @param sql * the SQL string used to define the CallableStatement * @param resultSetType @@ -409,7 +409,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates or obtains a {@link CallableStatement} from the pool. - * + * * @param sql * the SQL string used to define the CallableStatement * @param resultSetType @@ -439,7 +439,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> /** * Creates or obtains a {@link PreparedStatement} from the pool. - * + * * @param sql * the SQL string used to define the PreparedStatement * @return a {@link PoolablePreparedStatement} http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/0bc25b8c/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java b/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java index 428c109..c0d1cf1 100644 --- a/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java +++ b/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java @@ -68,7 +68,7 @@ public class PoolingDataSource<C extends Connection> implements DataSource, Auto /** * Close and free all {@link Connection}s from the pool. - * + * * @since 2.1 */ @Override @@ -150,7 +150,7 @@ public class PoolingDataSource<C extends Connection> implements DataSource, Auto /** * Throws {@link UnsupportedOperationException} - * + * * @throws UnsupportedOperationException always thrown */ @Override @@ -160,7 +160,7 @@ public class PoolingDataSource<C extends Connection> implements DataSource, Auto /** * Returns my log writer. - * + * * @return my log writer * @see DataSource#getLogWriter */ @@ -171,7 +171,7 @@ public class PoolingDataSource<C extends Connection> implements DataSource, Auto /** * Throws {@link UnsupportedOperationException}. - * + * * @throws UnsupportedOperationException * As this implementation does not support this feature. */ @@ -182,7 +182,7 @@ public class PoolingDataSource<C extends Connection> implements DataSource, Auto /** * Throws {@link UnsupportedOperationException}. - * + * * @throws UnsupportedOperationException * As this implementation does not support this feature. */ @@ -193,7 +193,7 @@ public class PoolingDataSource<C extends Connection> implements DataSource, Auto /** * Sets my log writer. - * + * * @see DataSource#setLogWriter */ @Override @@ -212,7 +212,7 @@ public class PoolingDataSource<C extends Connection> implements DataSource, Auto /** * PoolGuardConnectionWrapper is a Connection wrapper that makes sure a closed connection cannot be used anymore. - * + * * @since 2.0 */ private class PoolGuardConnectionWrapper<D extends Connection>