Skip to content

Commit a8ab24b

Browse files
author
Abhi
committed
bug CS-14466: removing blank statement
1 parent 7e186fe commit a8ab24b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

server/src/com/cloud/upgrade/dao/Upgrade2214to30.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
import com.cloud.offering.NetworkOffering;
3030
import com.cloud.utils.crypt.DBEncryptionUtil;
31+
import com.cloud.utils.db.Transaction;
3132
import com.cloud.utils.exception.CloudRuntimeException;
3233
import com.cloud.utils.script.Script;
3334

@@ -953,9 +954,6 @@ protected void updateHostCapacity(Connection conn){
953954
pstmt = conn
954955
.prepareStatement("UPDATE op_host_capacity, data_center SET op_host_capacity.capacity_state='Disabled' where data_center.id=op_host_capacity.data_center_id and data_center.allocation_state='Disabled';");
955956
pstmt.executeUpdate();
956-
pstmt = conn
957-
.prepareStatement("");
958-
pstmt.executeUpdate();
959957
} catch (SQLException e) {
960958
throw new CloudRuntimeException("Unable to update op_host_capacity table. ", e);
961959
} finally {

0 commit comments

Comments
 (0)