CID-1192812: Remove dead code from DataCenterJoinDaoImpl Signed-off-by: Rohit Yadav <rohit.ya...@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 <rohit.ya...@shapeblue.com> Authored: Wed Sep 17 16:29:03 2014 +0200 Committer: Rohit Yadav <rohit.ya...@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());