You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2014/09/28 11:40:29 UTC

[29/50] [abbrv] git commit: updated refs/heads/statscollector-graphite to 621156c

CID-1192798: Remove unused boolean variable

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/6e06ae9e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6e06ae9e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6e06ae9e

Branch: refs/heads/statscollector-graphite
Commit: 6e06ae9e8ea879e892d6311761a6042fa78cea3f
Parents: f74446a
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Thu Sep 25 17:03:47 2014 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Thu Sep 25 17:03:47 2014 +0200

----------------------------------------------------------------------
 .../org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6e06ae9e/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java
index e2f261e..e5e5017 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java
@@ -155,10 +155,9 @@ public class CreateVPCCmd extends BaseAsyncCreateCmd {
     @Override
     public void execute() {
         Vpc vpc = null;
-        boolean success = true;
         try {
             if (isStart()) {
-                success = _vpcService.startVpc(getEntityId(), true);
+                _vpcService.startVpc(getEntityId(), true);
             } else {
                 s_logger.debug("Not starting VPC as " + ApiConstants.START + "=false was passed to the API");
              }