You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2014/09/17 16:39:44 UTC

[3/4] git commit: updated refs/heads/master to e1842a9

CID-1192812: Remove dead code from DataCenterJoinDaoImpl

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/369b5b43
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/369b5b43
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/369b5b43

Branch: refs/heads/master
Commit: 369b5b439beac93a6b85948a03a9356937d6eb79
Parents: bfd8af0
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Wed Sep 17 16:29:03 2014 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Wed Sep 17 16:29:03 2014 +0200

----------------------------------------------------------------------
 server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/369b5b43/server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java b/server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java
index 5f176b8..a45c471 100644
--- a/server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java
+++ b/server/src/com/cloud/api/query/dao/DataCenterJoinDaoImpl.java
@@ -61,8 +61,6 @@ public class DataCenterJoinDaoImpl extends GenericDaoBase<DataCenterJoinVO, Long
 
     @Override
     public ZoneResponse newDataCenterResponse(ResponseView view, DataCenterJoinVO dataCenter, Boolean showCapacities) {
-
-        Account account = CallContext.current().getCallingAccount();
         ZoneResponse zoneResponse = new ZoneResponse();
         zoneResponse.setId(dataCenter.getUuid());
         zoneResponse.setName(dataCenter.getName());