format code

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@527 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-08-01 19:45:46 +00:00
parent a803236cfa
commit c270d3f308
161 changed files with 3709 additions and 2349 deletions
@@ -323,7 +323,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final int getFetchSize() throws SQLException {
checkOpen();
try {
return stmt.getFetchSize();
} catch (Throwable t) {
@@ -334,7 +334,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final int getResultSetConcurrency() throws SQLException {
checkOpen();
try {
return stmt.getResultSetConcurrency();
} catch (Throwable t) {
@@ -345,7 +345,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final int getResultSetType() throws SQLException {
checkOpen();
try {
return stmt.getResultSetType();
} catch (Throwable t) {
@@ -356,7 +356,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final void addBatch(String sql) throws SQLException {
checkOpen();
try {
stmt.addBatch(sql);
} catch (Throwable t) {
@@ -367,7 +367,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final void clearBatch() throws SQLException {
checkOpen();
try {
stmt.clearBatch();
} catch (Throwable t) {
@@ -378,7 +378,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final int[] executeBatch() throws SQLException {
checkOpen();
try {
return stmt.executeBatch();
} catch (Throwable t) {
@@ -389,14 +389,14 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final Connection getConnection() throws SQLException {
checkOpen();
return conn;
}
@Override
public final boolean getMoreResults(int current) throws SQLException {
checkOpen();
try {
return stmt.getMoreResults(current);
} catch (Throwable t) {
@@ -407,7 +407,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final ResultSet getGeneratedKeys() throws SQLException {
checkOpen();
try {
ResultSet rs = stmt.getGeneratedKeys();
@@ -424,7 +424,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
checkOpen();
try {
return stmt.executeUpdate(sql, autoGeneratedKeys);
} catch (Throwable t) {
@@ -435,7 +435,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final int executeUpdate(String sql, int columnIndexes[]) throws SQLException {
checkOpen();
try {
return stmt.executeUpdate(sql, columnIndexes);
} catch (Throwable t) {
@@ -446,7 +446,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final int executeUpdate(String sql, String columnNames[]) throws SQLException {
checkOpen();
try {
return stmt.executeUpdate(sql, columnNames);
} catch (Throwable t) {
@@ -457,7 +457,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
checkOpen();
try {
return stmt.execute(sql, autoGeneratedKeys);
} catch (Throwable t) {
@@ -468,7 +468,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final boolean execute(String sql, int columnIndexes[]) throws SQLException {
checkOpen();
try {
return stmt.execute(sql, columnIndexes);
} catch (Throwable t) {
@@ -479,7 +479,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final boolean execute(String sql, String columnNames[]) throws SQLException {
checkOpen();
try {
return stmt.execute(sql, columnNames);
} catch (Throwable t) {
@@ -490,7 +490,7 @@ public class PoolableStatement extends PoolableWrapper implements Statement {
@Override
public final int getResultSetHoldability() throws SQLException {
checkOpen();
try {
return stmt.getResultSetHoldability();
} catch (Throwable t) {