mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
code format
This commit is contained in:
@@ -55,12 +55,12 @@ public class PreparedStatementPool {
|
||||
}
|
||||
|
||||
public void put(PreparedStatementHolder holder) throws SQLException {
|
||||
PreparedStatement stmt = holder.getStatement();
|
||||
|
||||
PreparedStatement stmt = holder.getStatement();
|
||||
|
||||
if (stmt.isClosed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
PreparedStatementKey key = holder.getKey();
|
||||
PreparedStatementHolder oldHolder = map.put(key, holder);
|
||||
if (oldHolder != null) {
|
||||
|
||||
Reference in New Issue
Block a user