You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2018/07/13 00:26:19 UTC
[39/50] [abbrv] commons-dbcp git commit: Use final.
http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/82dc4a18/src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java b/src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java
index 57a339e..6b75956 100644
--- a/src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java
+++ b/src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java
@@ -70,7 +70,7 @@ public class TestDelegatingDatabaseMetaData {
public void testAllProceduresAreCallable() throws Exception {
try {
delegate.allProceduresAreCallable();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).allProceduresAreCallable();
}
@@ -78,7 +78,7 @@ public class TestDelegatingDatabaseMetaData {
public void testAllTablesAreSelectable() throws Exception {
try {
delegate.allTablesAreSelectable();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).allTablesAreSelectable();
}
@@ -86,7 +86,7 @@ public class TestDelegatingDatabaseMetaData {
public void testAutoCommitFailureClosesAllResultSets() throws Exception {
try {
delegate.autoCommitFailureClosesAllResultSets();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).autoCommitFailureClosesAllResultSets();
}
@@ -94,7 +94,7 @@ public class TestDelegatingDatabaseMetaData {
public void testDataDefinitionCausesTransactionCommit() throws Exception {
try {
delegate.dataDefinitionCausesTransactionCommit();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).dataDefinitionCausesTransactionCommit();
}
@@ -102,7 +102,7 @@ public class TestDelegatingDatabaseMetaData {
public void testDataDefinitionIgnoredInTransactions() throws Exception {
try {
delegate.dataDefinitionIgnoredInTransactions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).dataDefinitionIgnoredInTransactions();
}
@@ -110,7 +110,7 @@ public class TestDelegatingDatabaseMetaData {
public void testDeletesAreDetectedInteger() throws Exception {
try {
delegate.deletesAreDetected(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).deletesAreDetected(1);
}
@@ -118,7 +118,7 @@ public class TestDelegatingDatabaseMetaData {
public void testDoesMaxRowSizeIncludeBlobs() throws Exception {
try {
delegate.doesMaxRowSizeIncludeBlobs();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).doesMaxRowSizeIncludeBlobs();
}
@@ -126,7 +126,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGeneratedKeyAlwaysReturned() throws Exception {
try {
delegate.generatedKeyAlwaysReturned();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).generatedKeyAlwaysReturned();
}
@@ -134,7 +134,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetAttributesStringStringStringString() throws Exception {
try {
delegate.getAttributes("foo","foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getAttributes("foo","foo","foo","foo");
}
@@ -142,7 +142,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetBestRowIdentifierStringStringStringIntegerBoolean() throws Exception {
try {
delegate.getBestRowIdentifier("foo","foo","foo",1,Boolean.TRUE);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getBestRowIdentifier("foo","foo","foo",1,Boolean.TRUE);
}
@@ -150,7 +150,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetCatalogSeparator() throws Exception {
try {
delegate.getCatalogSeparator();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getCatalogSeparator();
}
@@ -158,7 +158,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetCatalogTerm() throws Exception {
try {
delegate.getCatalogTerm();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getCatalogTerm();
}
@@ -166,7 +166,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetCatalogs() throws Exception {
try {
delegate.getCatalogs();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getCatalogs();
}
@@ -174,7 +174,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetClientInfoProperties() throws Exception {
try {
delegate.getClientInfoProperties();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getClientInfoProperties();
}
@@ -182,7 +182,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetColumnPrivilegesStringStringStringString() throws Exception {
try {
delegate.getColumnPrivileges("foo","foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getColumnPrivileges("foo","foo","foo","foo");
}
@@ -190,7 +190,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetColumnsStringStringStringString() throws Exception {
try {
delegate.getColumns("foo","foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getColumns("foo","foo","foo","foo");
}
@@ -203,7 +203,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetConnection() throws Exception {
try {
delegate.getConnection();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(0)).getConnection();
}
@@ -211,7 +211,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetCrossReferenceStringStringStringStringStringString() throws Exception {
try {
delegate.getCrossReference("foo","foo","foo","foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getCrossReference("foo","foo","foo","foo","foo","foo");
}
@@ -219,7 +219,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetDatabaseMajorVersion() throws Exception {
try {
delegate.getDatabaseMajorVersion();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getDatabaseMajorVersion();
}
@@ -227,7 +227,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetDatabaseMinorVersion() throws Exception {
try {
delegate.getDatabaseMinorVersion();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getDatabaseMinorVersion();
}
@@ -235,7 +235,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetDatabaseProductName() throws Exception {
try {
delegate.getDatabaseProductName();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getDatabaseProductName();
}
@@ -243,7 +243,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetDatabaseProductVersion() throws Exception {
try {
delegate.getDatabaseProductVersion();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getDatabaseProductVersion();
}
@@ -251,7 +251,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetDefaultTransactionIsolation() throws Exception {
try {
delegate.getDefaultTransactionIsolation();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getDefaultTransactionIsolation();
}
@@ -271,7 +271,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetDriverName() throws Exception {
try {
delegate.getDriverName();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getDriverName();
}
@@ -279,7 +279,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetDriverVersion() throws Exception {
try {
delegate.getDriverVersion();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getDriverVersion();
}
@@ -287,7 +287,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetExportedKeysStringStringString() throws Exception {
try {
delegate.getExportedKeys("foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getExportedKeys("foo","foo","foo");
}
@@ -295,7 +295,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetExtraNameCharacters() throws Exception {
try {
delegate.getExtraNameCharacters();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getExtraNameCharacters();
}
@@ -303,7 +303,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetFunctionColumnsStringStringStringString() throws Exception {
try {
delegate.getFunctionColumns("foo","foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getFunctionColumns("foo","foo","foo","foo");
}
@@ -311,7 +311,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetFunctionsStringStringString() throws Exception {
try {
delegate.getFunctions("foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getFunctions("foo","foo","foo");
}
@@ -319,7 +319,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetIdentifierQuoteString() throws Exception {
try {
delegate.getIdentifierQuoteString();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getIdentifierQuoteString();
}
@@ -327,7 +327,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetImportedKeysStringStringString() throws Exception {
try {
delegate.getImportedKeys("foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getImportedKeys("foo","foo","foo");
}
@@ -335,7 +335,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetIndexInfoStringStringStringBooleanBoolean() throws Exception {
try {
delegate.getIndexInfo("foo","foo","foo",Boolean.TRUE,Boolean.TRUE);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getIndexInfo("foo","foo","foo",Boolean.TRUE,Boolean.TRUE);
}
@@ -343,7 +343,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetJDBCMajorVersion() throws Exception {
try {
delegate.getJDBCMajorVersion();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getJDBCMajorVersion();
}
@@ -351,7 +351,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetJDBCMinorVersion() throws Exception {
try {
delegate.getJDBCMinorVersion();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getJDBCMinorVersion();
}
@@ -359,7 +359,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxBinaryLiteralLength() throws Exception {
try {
delegate.getMaxBinaryLiteralLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxBinaryLiteralLength();
}
@@ -367,7 +367,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxCatalogNameLength() throws Exception {
try {
delegate.getMaxCatalogNameLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxCatalogNameLength();
}
@@ -375,7 +375,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxCharLiteralLength() throws Exception {
try {
delegate.getMaxCharLiteralLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxCharLiteralLength();
}
@@ -383,7 +383,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxColumnNameLength() throws Exception {
try {
delegate.getMaxColumnNameLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxColumnNameLength();
}
@@ -391,7 +391,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxColumnsInGroupBy() throws Exception {
try {
delegate.getMaxColumnsInGroupBy();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxColumnsInGroupBy();
}
@@ -399,7 +399,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxColumnsInIndex() throws Exception {
try {
delegate.getMaxColumnsInIndex();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxColumnsInIndex();
}
@@ -407,7 +407,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxColumnsInOrderBy() throws Exception {
try {
delegate.getMaxColumnsInOrderBy();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxColumnsInOrderBy();
}
@@ -415,7 +415,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxColumnsInSelect() throws Exception {
try {
delegate.getMaxColumnsInSelect();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxColumnsInSelect();
}
@@ -423,7 +423,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxColumnsInTable() throws Exception {
try {
delegate.getMaxColumnsInTable();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxColumnsInTable();
}
@@ -431,7 +431,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxConnections() throws Exception {
try {
delegate.getMaxConnections();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxConnections();
}
@@ -439,7 +439,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxCursorNameLength() throws Exception {
try {
delegate.getMaxCursorNameLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxCursorNameLength();
}
@@ -447,7 +447,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxIndexLength() throws Exception {
try {
delegate.getMaxIndexLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxIndexLength();
}
@@ -455,7 +455,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxLogicalLobSize() throws Exception {
try {
delegate.getMaxLogicalLobSize();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxLogicalLobSize();
}
@@ -463,7 +463,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxProcedureNameLength() throws Exception {
try {
delegate.getMaxProcedureNameLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxProcedureNameLength();
}
@@ -471,7 +471,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxRowSize() throws Exception {
try {
delegate.getMaxRowSize();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxRowSize();
}
@@ -479,7 +479,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxSchemaNameLength() throws Exception {
try {
delegate.getMaxSchemaNameLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxSchemaNameLength();
}
@@ -487,7 +487,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxStatementLength() throws Exception {
try {
delegate.getMaxStatementLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxStatementLength();
}
@@ -495,7 +495,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxStatements() throws Exception {
try {
delegate.getMaxStatements();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxStatements();
}
@@ -503,7 +503,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxTableNameLength() throws Exception {
try {
delegate.getMaxTableNameLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxTableNameLength();
}
@@ -511,7 +511,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxTablesInSelect() throws Exception {
try {
delegate.getMaxTablesInSelect();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxTablesInSelect();
}
@@ -519,7 +519,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetMaxUserNameLength() throws Exception {
try {
delegate.getMaxUserNameLength();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMaxUserNameLength();
}
@@ -527,7 +527,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetNumericFunctions() throws Exception {
try {
delegate.getNumericFunctions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getNumericFunctions();
}
@@ -535,7 +535,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetPrimaryKeysStringStringString() throws Exception {
try {
delegate.getPrimaryKeys("foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getPrimaryKeys("foo","foo","foo");
}
@@ -543,7 +543,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetProcedureColumnsStringStringStringString() throws Exception {
try {
delegate.getProcedureColumns("foo","foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getProcedureColumns("foo","foo","foo","foo");
}
@@ -551,7 +551,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetProcedureTerm() throws Exception {
try {
delegate.getProcedureTerm();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getProcedureTerm();
}
@@ -559,7 +559,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetProceduresStringStringString() throws Exception {
try {
delegate.getProcedures("foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getProcedures("foo","foo","foo");
}
@@ -567,7 +567,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetPseudoColumnsStringStringStringString() throws Exception {
try {
delegate.getPseudoColumns("foo","foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getPseudoColumns("foo","foo","foo","foo");
}
@@ -575,7 +575,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetResultSetHoldability() throws Exception {
try {
delegate.getResultSetHoldability();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getResultSetHoldability();
}
@@ -583,7 +583,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetRowIdLifetime() throws Exception {
try {
delegate.getRowIdLifetime();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getRowIdLifetime();
}
@@ -591,7 +591,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetSQLKeywords() throws Exception {
try {
delegate.getSQLKeywords();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getSQLKeywords();
}
@@ -599,7 +599,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetSQLStateType() throws Exception {
try {
delegate.getSQLStateType();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getSQLStateType();
}
@@ -607,7 +607,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetSchemaTerm() throws Exception {
try {
delegate.getSchemaTerm();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getSchemaTerm();
}
@@ -615,7 +615,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetSchemasStringString() throws Exception {
try {
delegate.getSchemas("foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getSchemas("foo","foo");
}
@@ -623,7 +623,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetSchemas() throws Exception {
try {
delegate.getSchemas();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getSchemas();
}
@@ -631,7 +631,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetSearchStringEscape() throws Exception {
try {
delegate.getSearchStringEscape();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getSearchStringEscape();
}
@@ -639,7 +639,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetStringFunctions() throws Exception {
try {
delegate.getStringFunctions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getStringFunctions();
}
@@ -647,7 +647,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetSuperTablesStringStringString() throws Exception {
try {
delegate.getSuperTables("foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getSuperTables("foo","foo","foo");
}
@@ -655,7 +655,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetSuperTypesStringStringString() throws Exception {
try {
delegate.getSuperTypes("foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getSuperTypes("foo","foo","foo");
}
@@ -663,7 +663,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetSystemFunctions() throws Exception {
try {
delegate.getSystemFunctions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getSystemFunctions();
}
@@ -671,7 +671,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetTablePrivilegesStringStringString() throws Exception {
try {
delegate.getTablePrivileges("foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getTablePrivileges("foo","foo","foo");
}
@@ -679,7 +679,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetTableTypes() throws Exception {
try {
delegate.getTableTypes();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getTableTypes();
}
@@ -687,7 +687,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetTablesStringStringStringStringArray() throws Exception {
try {
delegate.getTables("foo","foo","foo",(String[]) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getTables("foo","foo","foo",(String[]) null);
}
@@ -695,7 +695,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetTimeDateFunctions() throws Exception {
try {
delegate.getTimeDateFunctions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getTimeDateFunctions();
}
@@ -703,7 +703,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetTypeInfo() throws Exception {
try {
delegate.getTypeInfo();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getTypeInfo();
}
@@ -711,7 +711,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetUDTsStringStringStringIntegerArray() throws Exception {
try {
delegate.getUDTs("foo","foo","foo",(int[]) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getUDTs("foo","foo","foo",(int[]) null);
}
@@ -719,7 +719,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetURL() throws Exception {
try {
delegate.getURL();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getURL();
}
@@ -727,7 +727,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetUserName() throws Exception {
try {
delegate.getUserName();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getUserName();
}
@@ -735,7 +735,7 @@ public class TestDelegatingDatabaseMetaData {
public void testGetVersionColumnsStringStringString() throws Exception {
try {
delegate.getVersionColumns("foo","foo","foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getVersionColumns("foo","foo","foo");
}
@@ -743,7 +743,7 @@ public class TestDelegatingDatabaseMetaData {
public void testInsertsAreDetectedInteger() throws Exception {
try {
delegate.insertsAreDetected(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).insertsAreDetected(1);
}
@@ -751,7 +751,7 @@ public class TestDelegatingDatabaseMetaData {
public void testIsCatalogAtStart() throws Exception {
try {
delegate.isCatalogAtStart();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).isCatalogAtStart();
}
@@ -759,7 +759,7 @@ public class TestDelegatingDatabaseMetaData {
public void testIsReadOnly() throws Exception {
try {
delegate.isReadOnly();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).isReadOnly();
}
@@ -767,7 +767,7 @@ public class TestDelegatingDatabaseMetaData {
public void testLocatorsUpdateCopy() throws Exception {
try {
delegate.locatorsUpdateCopy();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).locatorsUpdateCopy();
}
@@ -775,7 +775,7 @@ public class TestDelegatingDatabaseMetaData {
public void testNullPlusNonNullIsNull() throws Exception {
try {
delegate.nullPlusNonNullIsNull();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).nullPlusNonNullIsNull();
}
@@ -783,7 +783,7 @@ public class TestDelegatingDatabaseMetaData {
public void testNullsAreSortedAtEnd() throws Exception {
try {
delegate.nullsAreSortedAtEnd();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).nullsAreSortedAtEnd();
}
@@ -791,7 +791,7 @@ public class TestDelegatingDatabaseMetaData {
public void testNullsAreSortedAtStart() throws Exception {
try {
delegate.nullsAreSortedAtStart();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).nullsAreSortedAtStart();
}
@@ -799,7 +799,7 @@ public class TestDelegatingDatabaseMetaData {
public void testNullsAreSortedHigh() throws Exception {
try {
delegate.nullsAreSortedHigh();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).nullsAreSortedHigh();
}
@@ -807,7 +807,7 @@ public class TestDelegatingDatabaseMetaData {
public void testNullsAreSortedLow() throws Exception {
try {
delegate.nullsAreSortedLow();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).nullsAreSortedLow();
}
@@ -815,7 +815,7 @@ public class TestDelegatingDatabaseMetaData {
public void testOthersDeletesAreVisibleInteger() throws Exception {
try {
delegate.othersDeletesAreVisible(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).othersDeletesAreVisible(1);
}
@@ -823,7 +823,7 @@ public class TestDelegatingDatabaseMetaData {
public void testOthersInsertsAreVisibleInteger() throws Exception {
try {
delegate.othersInsertsAreVisible(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).othersInsertsAreVisible(1);
}
@@ -831,7 +831,7 @@ public class TestDelegatingDatabaseMetaData {
public void testOthersUpdatesAreVisibleInteger() throws Exception {
try {
delegate.othersUpdatesAreVisible(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).othersUpdatesAreVisible(1);
}
@@ -839,7 +839,7 @@ public class TestDelegatingDatabaseMetaData {
public void testOwnDeletesAreVisibleInteger() throws Exception {
try {
delegate.ownDeletesAreVisible(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).ownDeletesAreVisible(1);
}
@@ -847,7 +847,7 @@ public class TestDelegatingDatabaseMetaData {
public void testOwnInsertsAreVisibleInteger() throws Exception {
try {
delegate.ownInsertsAreVisible(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).ownInsertsAreVisible(1);
}
@@ -855,7 +855,7 @@ public class TestDelegatingDatabaseMetaData {
public void testOwnUpdatesAreVisibleInteger() throws Exception {
try {
delegate.ownUpdatesAreVisible(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).ownUpdatesAreVisible(1);
}
@@ -863,7 +863,7 @@ public class TestDelegatingDatabaseMetaData {
public void testStoresLowerCaseIdentifiers() throws Exception {
try {
delegate.storesLowerCaseIdentifiers();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).storesLowerCaseIdentifiers();
}
@@ -871,7 +871,7 @@ public class TestDelegatingDatabaseMetaData {
public void testStoresLowerCaseQuotedIdentifiers() throws Exception {
try {
delegate.storesLowerCaseQuotedIdentifiers();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).storesLowerCaseQuotedIdentifiers();
}
@@ -879,7 +879,7 @@ public class TestDelegatingDatabaseMetaData {
public void testStoresMixedCaseIdentifiers() throws Exception {
try {
delegate.storesMixedCaseIdentifiers();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).storesMixedCaseIdentifiers();
}
@@ -887,7 +887,7 @@ public class TestDelegatingDatabaseMetaData {
public void testStoresMixedCaseQuotedIdentifiers() throws Exception {
try {
delegate.storesMixedCaseQuotedIdentifiers();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).storesMixedCaseQuotedIdentifiers();
}
@@ -895,7 +895,7 @@ public class TestDelegatingDatabaseMetaData {
public void testStoresUpperCaseIdentifiers() throws Exception {
try {
delegate.storesUpperCaseIdentifiers();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).storesUpperCaseIdentifiers();
}
@@ -903,7 +903,7 @@ public class TestDelegatingDatabaseMetaData {
public void testStoresUpperCaseQuotedIdentifiers() throws Exception {
try {
delegate.storesUpperCaseQuotedIdentifiers();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).storesUpperCaseQuotedIdentifiers();
}
@@ -911,7 +911,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsANSI92EntryLevelSQL() throws Exception {
try {
delegate.supportsANSI92EntryLevelSQL();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsANSI92EntryLevelSQL();
}
@@ -919,7 +919,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsANSI92FullSQL() throws Exception {
try {
delegate.supportsANSI92FullSQL();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsANSI92FullSQL();
}
@@ -927,7 +927,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsANSI92IntermediateSQL() throws Exception {
try {
delegate.supportsANSI92IntermediateSQL();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsANSI92IntermediateSQL();
}
@@ -935,7 +935,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsAlterTableWithAddColumn() throws Exception {
try {
delegate.supportsAlterTableWithAddColumn();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsAlterTableWithAddColumn();
}
@@ -943,7 +943,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsAlterTableWithDropColumn() throws Exception {
try {
delegate.supportsAlterTableWithDropColumn();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsAlterTableWithDropColumn();
}
@@ -951,7 +951,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsBatchUpdates() throws Exception {
try {
delegate.supportsBatchUpdates();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsBatchUpdates();
}
@@ -959,7 +959,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsCatalogsInDataManipulation() throws Exception {
try {
delegate.supportsCatalogsInDataManipulation();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsCatalogsInDataManipulation();
}
@@ -967,7 +967,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsCatalogsInIndexDefinitions() throws Exception {
try {
delegate.supportsCatalogsInIndexDefinitions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsCatalogsInIndexDefinitions();
}
@@ -975,7 +975,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsCatalogsInPrivilegeDefinitions() throws Exception {
try {
delegate.supportsCatalogsInPrivilegeDefinitions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsCatalogsInPrivilegeDefinitions();
}
@@ -983,7 +983,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsCatalogsInProcedureCalls() throws Exception {
try {
delegate.supportsCatalogsInProcedureCalls();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsCatalogsInProcedureCalls();
}
@@ -991,7 +991,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsCatalogsInTableDefinitions() throws Exception {
try {
delegate.supportsCatalogsInTableDefinitions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsCatalogsInTableDefinitions();
}
@@ -999,7 +999,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsColumnAliasing() throws Exception {
try {
delegate.supportsColumnAliasing();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsColumnAliasing();
}
@@ -1007,7 +1007,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsConvertIntegerInteger() throws Exception {
try {
delegate.supportsConvert(1,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsConvert(1,1);
}
@@ -1015,7 +1015,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsConvert() throws Exception {
try {
delegate.supportsConvert();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsConvert();
}
@@ -1023,7 +1023,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsCoreSQLGrammar() throws Exception {
try {
delegate.supportsCoreSQLGrammar();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsCoreSQLGrammar();
}
@@ -1031,7 +1031,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsCorrelatedSubqueries() throws Exception {
try {
delegate.supportsCorrelatedSubqueries();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsCorrelatedSubqueries();
}
@@ -1039,7 +1039,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsDataDefinitionAndDataManipulationTransactions() throws Exception {
try {
delegate.supportsDataDefinitionAndDataManipulationTransactions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsDataDefinitionAndDataManipulationTransactions();
}
@@ -1047,7 +1047,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsDataManipulationTransactionsOnly() throws Exception {
try {
delegate.supportsDataManipulationTransactionsOnly();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsDataManipulationTransactionsOnly();
}
@@ -1055,7 +1055,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsDifferentTableCorrelationNames() throws Exception {
try {
delegate.supportsDifferentTableCorrelationNames();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsDifferentTableCorrelationNames();
}
@@ -1063,7 +1063,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsExpressionsInOrderBy() throws Exception {
try {
delegate.supportsExpressionsInOrderBy();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsExpressionsInOrderBy();
}
@@ -1071,7 +1071,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsExtendedSQLGrammar() throws Exception {
try {
delegate.supportsExtendedSQLGrammar();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsExtendedSQLGrammar();
}
@@ -1079,7 +1079,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsFullOuterJoins() throws Exception {
try {
delegate.supportsFullOuterJoins();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsFullOuterJoins();
}
@@ -1087,7 +1087,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsGetGeneratedKeys() throws Exception {
try {
delegate.supportsGetGeneratedKeys();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsGetGeneratedKeys();
}
@@ -1095,7 +1095,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsGroupBy() throws Exception {
try {
delegate.supportsGroupBy();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsGroupBy();
}
@@ -1103,7 +1103,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsGroupByBeyondSelect() throws Exception {
try {
delegate.supportsGroupByBeyondSelect();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsGroupByBeyondSelect();
}
@@ -1111,7 +1111,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsGroupByUnrelated() throws Exception {
try {
delegate.supportsGroupByUnrelated();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsGroupByUnrelated();
}
@@ -1119,7 +1119,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsIntegrityEnhancementFacility() throws Exception {
try {
delegate.supportsIntegrityEnhancementFacility();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsIntegrityEnhancementFacility();
}
@@ -1127,7 +1127,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsLikeEscapeClause() throws Exception {
try {
delegate.supportsLikeEscapeClause();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsLikeEscapeClause();
}
@@ -1135,7 +1135,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsLimitedOuterJoins() throws Exception {
try {
delegate.supportsLimitedOuterJoins();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsLimitedOuterJoins();
}
@@ -1143,7 +1143,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsMinimumSQLGrammar() throws Exception {
try {
delegate.supportsMinimumSQLGrammar();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsMinimumSQLGrammar();
}
@@ -1151,7 +1151,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsMixedCaseIdentifiers() throws Exception {
try {
delegate.supportsMixedCaseIdentifiers();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsMixedCaseIdentifiers();
}
@@ -1159,7 +1159,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsMixedCaseQuotedIdentifiers() throws Exception {
try {
delegate.supportsMixedCaseQuotedIdentifiers();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsMixedCaseQuotedIdentifiers();
}
@@ -1167,7 +1167,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsMultipleOpenResults() throws Exception {
try {
delegate.supportsMultipleOpenResults();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsMultipleOpenResults();
}
@@ -1175,7 +1175,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsMultipleResultSets() throws Exception {
try {
delegate.supportsMultipleResultSets();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsMultipleResultSets();
}
@@ -1183,7 +1183,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsMultipleTransactions() throws Exception {
try {
delegate.supportsMultipleTransactions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsMultipleTransactions();
}
@@ -1191,7 +1191,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsNamedParameters() throws Exception {
try {
delegate.supportsNamedParameters();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsNamedParameters();
}
@@ -1199,7 +1199,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsNonNullableColumns() throws Exception {
try {
delegate.supportsNonNullableColumns();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsNonNullableColumns();
}
@@ -1207,7 +1207,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsOpenCursorsAcrossCommit() throws Exception {
try {
delegate.supportsOpenCursorsAcrossCommit();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsOpenCursorsAcrossCommit();
}
@@ -1215,7 +1215,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsOpenCursorsAcrossRollback() throws Exception {
try {
delegate.supportsOpenCursorsAcrossRollback();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsOpenCursorsAcrossRollback();
}
@@ -1223,7 +1223,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsOpenStatementsAcrossCommit() throws Exception {
try {
delegate.supportsOpenStatementsAcrossCommit();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsOpenStatementsAcrossCommit();
}
@@ -1231,7 +1231,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsOpenStatementsAcrossRollback() throws Exception {
try {
delegate.supportsOpenStatementsAcrossRollback();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsOpenStatementsAcrossRollback();
}
@@ -1239,7 +1239,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsOrderByUnrelated() throws Exception {
try {
delegate.supportsOrderByUnrelated();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsOrderByUnrelated();
}
@@ -1247,7 +1247,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsOuterJoins() throws Exception {
try {
delegate.supportsOuterJoins();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsOuterJoins();
}
@@ -1255,7 +1255,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsPositionedDelete() throws Exception {
try {
delegate.supportsPositionedDelete();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsPositionedDelete();
}
@@ -1263,7 +1263,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsPositionedUpdate() throws Exception {
try {
delegate.supportsPositionedUpdate();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsPositionedUpdate();
}
@@ -1271,7 +1271,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsRefCursors() throws Exception {
try {
delegate.supportsRefCursors();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsRefCursors();
}
@@ -1279,7 +1279,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsResultSetConcurrencyIntegerInteger() throws Exception {
try {
delegate.supportsResultSetConcurrency(1,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsResultSetConcurrency(1,1);
}
@@ -1287,7 +1287,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsResultSetHoldabilityInteger() throws Exception {
try {
delegate.supportsResultSetHoldability(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsResultSetHoldability(1);
}
@@ -1295,7 +1295,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsResultSetTypeInteger() throws Exception {
try {
delegate.supportsResultSetType(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsResultSetType(1);
}
@@ -1303,7 +1303,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSavepoints() throws Exception {
try {
delegate.supportsSavepoints();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSavepoints();
}
@@ -1311,7 +1311,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSchemasInDataManipulation() throws Exception {
try {
delegate.supportsSchemasInDataManipulation();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSchemasInDataManipulation();
}
@@ -1319,7 +1319,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSchemasInIndexDefinitions() throws Exception {
try {
delegate.supportsSchemasInIndexDefinitions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSchemasInIndexDefinitions();
}
@@ -1327,7 +1327,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSchemasInPrivilegeDefinitions() throws Exception {
try {
delegate.supportsSchemasInPrivilegeDefinitions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSchemasInPrivilegeDefinitions();
}
@@ -1335,7 +1335,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSchemasInProcedureCalls() throws Exception {
try {
delegate.supportsSchemasInProcedureCalls();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSchemasInProcedureCalls();
}
@@ -1343,7 +1343,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSchemasInTableDefinitions() throws Exception {
try {
delegate.supportsSchemasInTableDefinitions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSchemasInTableDefinitions();
}
@@ -1351,7 +1351,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSelectForUpdate() throws Exception {
try {
delegate.supportsSelectForUpdate();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSelectForUpdate();
}
@@ -1359,7 +1359,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsStatementPooling() throws Exception {
try {
delegate.supportsStatementPooling();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsStatementPooling();
}
@@ -1367,7 +1367,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsStoredFunctionsUsingCallSyntax() throws Exception {
try {
delegate.supportsStoredFunctionsUsingCallSyntax();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsStoredFunctionsUsingCallSyntax();
}
@@ -1375,7 +1375,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsStoredProcedures() throws Exception {
try {
delegate.supportsStoredProcedures();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsStoredProcedures();
}
@@ -1383,7 +1383,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSubqueriesInComparisons() throws Exception {
try {
delegate.supportsSubqueriesInComparisons();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSubqueriesInComparisons();
}
@@ -1391,7 +1391,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSubqueriesInExists() throws Exception {
try {
delegate.supportsSubqueriesInExists();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSubqueriesInExists();
}
@@ -1399,7 +1399,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSubqueriesInIns() throws Exception {
try {
delegate.supportsSubqueriesInIns();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSubqueriesInIns();
}
@@ -1407,7 +1407,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsSubqueriesInQuantifieds() throws Exception {
try {
delegate.supportsSubqueriesInQuantifieds();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsSubqueriesInQuantifieds();
}
@@ -1415,7 +1415,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsTableCorrelationNames() throws Exception {
try {
delegate.supportsTableCorrelationNames();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsTableCorrelationNames();
}
@@ -1423,7 +1423,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsTransactionIsolationLevelInteger() throws Exception {
try {
delegate.supportsTransactionIsolationLevel(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsTransactionIsolationLevel(1);
}
@@ -1431,7 +1431,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsTransactions() throws Exception {
try {
delegate.supportsTransactions();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsTransactions();
}
@@ -1439,7 +1439,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsUnion() throws Exception {
try {
delegate.supportsUnion();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsUnion();
}
@@ -1447,7 +1447,7 @@ public class TestDelegatingDatabaseMetaData {
public void testSupportsUnionAll() throws Exception {
try {
delegate.supportsUnionAll();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).supportsUnionAll();
}
@@ -1455,7 +1455,7 @@ public class TestDelegatingDatabaseMetaData {
public void testUpdatesAreDetectedInteger() throws Exception {
try {
delegate.updatesAreDetected(1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).updatesAreDetected(1);
}
@@ -1463,7 +1463,7 @@ public class TestDelegatingDatabaseMetaData {
public void testUsesLocalFilePerTable() throws Exception {
try {
delegate.usesLocalFilePerTable();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).usesLocalFilePerTable();
}
@@ -1471,7 +1471,7 @@ public class TestDelegatingDatabaseMetaData {
public void testUsesLocalFiles() throws Exception {
try {
delegate.usesLocalFiles();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).usesLocalFiles();
}
http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/82dc4a18/src/test/java/org/apache/commons/dbcp2/TestDelegatingPreparedStatement.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbcp2/TestDelegatingPreparedStatement.java b/src/test/java/org/apache/commons/dbcp2/TestDelegatingPreparedStatement.java
index af60ae2..4bd7162 100644
--- a/src/test/java/org/apache/commons/dbcp2/TestDelegatingPreparedStatement.java
+++ b/src/test/java/org/apache/commons/dbcp2/TestDelegatingPreparedStatement.java
@@ -71,7 +71,7 @@ public class TestDelegatingPreparedStatement {
public void testAddBatch() throws Exception {
try {
delegate.addBatch();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).addBatch();
}
@@ -79,7 +79,7 @@ public class TestDelegatingPreparedStatement {
public void testClearParameters() throws Exception {
try {
delegate.clearParameters();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).clearParameters();
}
@@ -87,7 +87,7 @@ public class TestDelegatingPreparedStatement {
public void testExecute() throws Exception {
try {
delegate.execute();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).execute();
}
@@ -95,7 +95,7 @@ public class TestDelegatingPreparedStatement {
public void testExecuteLargeUpdate() throws Exception {
try {
delegate.executeLargeUpdate();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).executeLargeUpdate();
}
@@ -103,7 +103,7 @@ public class TestDelegatingPreparedStatement {
public void testExecuteQuery() throws Exception {
try {
delegate.executeQuery();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).executeQuery();
}
@@ -111,7 +111,7 @@ public class TestDelegatingPreparedStatement {
public void testExecuteUpdate() throws Exception {
try {
delegate.executeUpdate();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).executeUpdate();
}
@@ -119,7 +119,7 @@ public class TestDelegatingPreparedStatement {
public void testGetMetaData() throws Exception {
try {
delegate.getMetaData();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getMetaData();
}
@@ -127,7 +127,7 @@ public class TestDelegatingPreparedStatement {
public void testGetParameterMetaData() throws Exception {
try {
delegate.getParameterMetaData();
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).getParameterMetaData();
}
@@ -135,7 +135,7 @@ public class TestDelegatingPreparedStatement {
public void testSetArrayIntegerArray() throws Exception {
try {
delegate.setArray(1,(java.sql.Array) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setArray(1,(java.sql.Array) null);
}
@@ -143,7 +143,7 @@ public class TestDelegatingPreparedStatement {
public void testSetAsciiStreamIntegerInputStreamLong() throws Exception {
try {
delegate.setAsciiStream(1,(java.io.InputStream) null,1l);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setAsciiStream(1,(java.io.InputStream) null,1l);
}
@@ -151,7 +151,7 @@ public class TestDelegatingPreparedStatement {
public void testSetAsciiStreamIntegerInputStreamInteger() throws Exception {
try {
delegate.setAsciiStream(1,(java.io.InputStream) null,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setAsciiStream(1,(java.io.InputStream) null,1);
}
@@ -159,7 +159,7 @@ public class TestDelegatingPreparedStatement {
public void testSetAsciiStreamIntegerInputStream() throws Exception {
try {
delegate.setAsciiStream(1,(java.io.InputStream) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setAsciiStream(1,(java.io.InputStream) null);
}
@@ -167,7 +167,7 @@ public class TestDelegatingPreparedStatement {
public void testSetBigDecimalIntegerBigDecimal() throws Exception {
try {
delegate.setBigDecimal(1,java.math.BigDecimal.valueOf(1.0d));
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setBigDecimal(1,java.math.BigDecimal.valueOf(1.0d));
}
@@ -175,7 +175,7 @@ public class TestDelegatingPreparedStatement {
public void testSetBinaryStreamIntegerInputStreamLong() throws Exception {
try {
delegate.setBinaryStream(1,(java.io.InputStream) null,1l);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setBinaryStream(1,(java.io.InputStream) null,1l);
}
@@ -183,7 +183,7 @@ public class TestDelegatingPreparedStatement {
public void testSetBinaryStreamIntegerInputStream() throws Exception {
try {
delegate.setBinaryStream(1,(java.io.InputStream) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setBinaryStream(1,(java.io.InputStream) null);
}
@@ -191,7 +191,7 @@ public class TestDelegatingPreparedStatement {
public void testSetBinaryStreamIntegerInputStreamInteger() throws Exception {
try {
delegate.setBinaryStream(1,(java.io.InputStream) null,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setBinaryStream(1,(java.io.InputStream) null,1);
}
@@ -199,7 +199,7 @@ public class TestDelegatingPreparedStatement {
public void testSetBlobIntegerBlob() throws Exception {
try {
delegate.setBlob(1,(java.sql.Blob) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setBlob(1,(java.sql.Blob) null);
}
@@ -207,7 +207,7 @@ public class TestDelegatingPreparedStatement {
public void testSetBlobIntegerInputStream() throws Exception {
try {
delegate.setBlob(1,(java.io.InputStream) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setBlob(1,(java.io.InputStream) null);
}
@@ -215,7 +215,7 @@ public class TestDelegatingPreparedStatement {
public void testSetBlobIntegerInputStreamLong() throws Exception {
try {
delegate.setBlob(1,(java.io.InputStream) null,1l);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setBlob(1,(java.io.InputStream) null,1l);
}
@@ -223,7 +223,7 @@ public class TestDelegatingPreparedStatement {
public void testSetBooleanIntegerBoolean() throws Exception {
try {
delegate.setBoolean(1,Boolean.TRUE);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setBoolean(1,Boolean.TRUE);
}
@@ -231,7 +231,7 @@ public class TestDelegatingPreparedStatement {
public void testSetByteIntegerByte() throws Exception {
try {
delegate.setByte(1,(byte) 1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setByte(1,(byte) 1);
}
@@ -239,7 +239,7 @@ public class TestDelegatingPreparedStatement {
public void testSetBytesIntegerByteArray() throws Exception {
try {
delegate.setBytes(1,new byte[] { 1 });
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setBytes(1,new byte[] { 1 });
}
@@ -247,7 +247,7 @@ public class TestDelegatingPreparedStatement {
public void testSetCharacterStreamIntegerReader() throws Exception {
try {
delegate.setCharacterStream(1,(java.io.StringReader) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setCharacterStream(1,(java.io.StringReader) null);
}
@@ -255,7 +255,7 @@ public class TestDelegatingPreparedStatement {
public void testSetCharacterStreamIntegerReaderInteger() throws Exception {
try {
delegate.setCharacterStream(1,(java.io.StringReader) null,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setCharacterStream(1,(java.io.StringReader) null,1);
}
@@ -263,7 +263,7 @@ public class TestDelegatingPreparedStatement {
public void testSetCharacterStreamIntegerReaderLong() throws Exception {
try {
delegate.setCharacterStream(1,(java.io.StringReader) null,1l);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setCharacterStream(1,(java.io.StringReader) null,1l);
}
@@ -271,7 +271,7 @@ public class TestDelegatingPreparedStatement {
public void testSetClobIntegerClob() throws Exception {
try {
delegate.setClob(1,(java.sql.Clob) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setClob(1,(java.sql.Clob) null);
}
@@ -279,7 +279,7 @@ public class TestDelegatingPreparedStatement {
public void testSetClobIntegerReaderLong() throws Exception {
try {
delegate.setClob(1,(java.io.StringReader) null,1l);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setClob(1,(java.io.StringReader) null,1l);
}
@@ -287,7 +287,7 @@ public class TestDelegatingPreparedStatement {
public void testSetClobIntegerReader() throws Exception {
try {
delegate.setClob(1,(java.io.StringReader) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setClob(1,(java.io.StringReader) null);
}
@@ -295,7 +295,7 @@ public class TestDelegatingPreparedStatement {
public void testSetDateIntegerSqlDateCalendar() throws Exception {
try {
delegate.setDate(1,new java.sql.Date(1529827548745l),(java.util.Calendar) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setDate(1,new java.sql.Date(1529827548745l),(java.util.Calendar) null);
}
@@ -303,7 +303,7 @@ public class TestDelegatingPreparedStatement {
public void testSetDateIntegerSqlDate() throws Exception {
try {
delegate.setDate(1,new java.sql.Date(1529827548745l));
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setDate(1,new java.sql.Date(1529827548745l));
}
@@ -311,7 +311,7 @@ public class TestDelegatingPreparedStatement {
public void testSetDoubleIntegerDouble() throws Exception {
try {
delegate.setDouble(1,1.0d);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setDouble(1,1.0d);
}
@@ -319,7 +319,7 @@ public class TestDelegatingPreparedStatement {
public void testSetFloatIntegerFloat() throws Exception {
try {
delegate.setFloat(1,1.0f);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setFloat(1,1.0f);
}
@@ -327,7 +327,7 @@ public class TestDelegatingPreparedStatement {
public void testSetIntIntegerInteger() throws Exception {
try {
delegate.setInt(1,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setInt(1,1);
}
@@ -335,7 +335,7 @@ public class TestDelegatingPreparedStatement {
public void testSetLongIntegerLong() throws Exception {
try {
delegate.setLong(1,1l);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setLong(1,1l);
}
@@ -343,7 +343,7 @@ public class TestDelegatingPreparedStatement {
public void testSetNCharacterStreamIntegerReader() throws Exception {
try {
delegate.setNCharacterStream(1,(java.io.StringReader) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setNCharacterStream(1,(java.io.StringReader) null);
}
@@ -351,7 +351,7 @@ public class TestDelegatingPreparedStatement {
public void testSetNCharacterStreamIntegerReaderLong() throws Exception {
try {
delegate.setNCharacterStream(1,(java.io.StringReader) null,1l);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setNCharacterStream(1,(java.io.StringReader) null,1l);
}
@@ -359,7 +359,7 @@ public class TestDelegatingPreparedStatement {
public void testSetNClobIntegerNClob() throws Exception {
try {
delegate.setNClob(1,(java.sql.NClob) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setNClob(1,(java.sql.NClob) null);
}
@@ -367,7 +367,7 @@ public class TestDelegatingPreparedStatement {
public void testSetNClobIntegerReader() throws Exception {
try {
delegate.setNClob(1,(java.io.StringReader) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setNClob(1,(java.io.StringReader) null);
}
@@ -375,7 +375,7 @@ public class TestDelegatingPreparedStatement {
public void testSetNClobIntegerReaderLong() throws Exception {
try {
delegate.setNClob(1,(java.io.StringReader) null,1l);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setNClob(1,(java.io.StringReader) null,1l);
}
@@ -383,7 +383,7 @@ public class TestDelegatingPreparedStatement {
public void testSetNStringIntegerString() throws Exception {
try {
delegate.setNString(1,"foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setNString(1,"foo");
}
@@ -391,7 +391,7 @@ public class TestDelegatingPreparedStatement {
public void testSetNullIntegerIntegerString() throws Exception {
try {
delegate.setNull(1,1,"foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setNull(1,1,"foo");
}
@@ -399,7 +399,7 @@ public class TestDelegatingPreparedStatement {
public void testSetNullIntegerInteger() throws Exception {
try {
delegate.setNull(1,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setNull(1,1);
}
@@ -407,7 +407,7 @@ public class TestDelegatingPreparedStatement {
public void testSetObjectIntegerObjectSQLType() throws Exception {
try {
delegate.setObject(1,System.err,(java.sql.SQLType) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setObject(1,System.err,(java.sql.SQLType) null);
}
@@ -415,7 +415,7 @@ public class TestDelegatingPreparedStatement {
public void testSetObjectIntegerObjectSQLTypeInteger() throws Exception {
try {
delegate.setObject(1,System.err,(java.sql.SQLType) null,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setObject(1,System.err,(java.sql.SQLType) null,1);
}
@@ -423,7 +423,7 @@ public class TestDelegatingPreparedStatement {
public void testSetObjectIntegerObjectIntegerInteger() throws Exception {
try {
delegate.setObject(1,System.err,1,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setObject(1,System.err,1,1);
}
@@ -431,7 +431,7 @@ public class TestDelegatingPreparedStatement {
public void testSetObjectIntegerObjectInteger() throws Exception {
try {
delegate.setObject(1,System.err,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setObject(1,System.err,1);
}
@@ -439,7 +439,7 @@ public class TestDelegatingPreparedStatement {
public void testSetObjectIntegerObject() throws Exception {
try {
delegate.setObject(1,System.err);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setObject(1,System.err);
}
@@ -447,7 +447,7 @@ public class TestDelegatingPreparedStatement {
public void testSetRefIntegerRef() throws Exception {
try {
delegate.setRef(1,(java.sql.Ref) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setRef(1,(java.sql.Ref) null);
}
@@ -455,7 +455,7 @@ public class TestDelegatingPreparedStatement {
public void testSetRowIdIntegerRowId() throws Exception {
try {
delegate.setRowId(1,(java.sql.RowId) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setRowId(1,(java.sql.RowId) null);
}
@@ -463,7 +463,7 @@ public class TestDelegatingPreparedStatement {
public void testSetSQLXMLIntegerSQLXML() throws Exception {
try {
delegate.setSQLXML(1,(java.sql.SQLXML) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setSQLXML(1,(java.sql.SQLXML) null);
}
@@ -471,7 +471,7 @@ public class TestDelegatingPreparedStatement {
public void testSetShortIntegerShort() throws Exception {
try {
delegate.setShort(1,(short) 1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setShort(1,(short) 1);
}
@@ -479,7 +479,7 @@ public class TestDelegatingPreparedStatement {
public void testSetStringIntegerString() throws Exception {
try {
delegate.setString(1,"foo");
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setString(1,"foo");
}
@@ -487,7 +487,7 @@ public class TestDelegatingPreparedStatement {
public void testSetTimeIntegerTime() throws Exception {
try {
delegate.setTime(1,(java.sql.Time) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setTime(1,(java.sql.Time) null);
}
@@ -495,7 +495,7 @@ public class TestDelegatingPreparedStatement {
public void testSetTimeIntegerTimeCalendar() throws Exception {
try {
delegate.setTime(1,(java.sql.Time) null,(java.util.Calendar) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setTime(1,(java.sql.Time) null,(java.util.Calendar) null);
}
@@ -503,7 +503,7 @@ public class TestDelegatingPreparedStatement {
public void testSetTimestampIntegerTimestamp() throws Exception {
try {
delegate.setTimestamp(1,(java.sql.Timestamp) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setTimestamp(1,(java.sql.Timestamp) null);
}
@@ -511,7 +511,7 @@ public class TestDelegatingPreparedStatement {
public void testSetTimestampIntegerTimestampCalendar() throws Exception {
try {
delegate.setTimestamp(1,(java.sql.Timestamp) null,(java.util.Calendar) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setTimestamp(1,(java.sql.Timestamp) null,(java.util.Calendar) null);
}
@@ -519,7 +519,7 @@ public class TestDelegatingPreparedStatement {
public void testSetURLIntegerUrl() throws Exception {
try {
delegate.setURL(1,(java.net.URL) null);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setURL(1,(java.net.URL) null);
}
@@ -527,7 +527,7 @@ public class TestDelegatingPreparedStatement {
public void testSetUnicodeStreamIntegerInputStreamInteger() throws Exception {
try {
delegate.setUnicodeStream(1,(java.io.InputStream) null,1);
- } catch (SQLException e) {}
+ } catch (final SQLException e) {}
verify(obj, times(1)).setUnicodeStream(1,(java.io.InputStream) null,1);
}