rafaelweingartner commented on a change in pull request #2659: removed unused 
code in snapshotDao
URL: https://github.com/apache/cloudstack/pull/2659#discussion_r189846178
 
 

 ##########
 File path: 
engine/schema/src/main/java/com/cloud/storage/dao/SnapshotDaoImpl.java
 ##########
 @@ -214,26 +183,6 @@ protected void init() {
         InstanceIdSearch.done();
     }
 
-    @Override
-    public Long getSecHostId(long volumeId) {
-
-        TransactionLegacy txn = TransactionLegacy.currentTxn();
-        PreparedStatement pstmt = null;
-        String sql = GET_SECHOST_ID;
 
 Review comment:
   The `GET_SECHOST_ID` variable is also only used here. So, what about if you 
delete it as well?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to