cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject [29/50] [abbrv] git commit: updated refs/heads/statscollector-graphite to 621156c
Date Sun, 28 Sep 2014 09:40:29 GMT
CID-1192798: Remove unused boolean variable

Signed-off-by: Rohit Yadav <rohit.yadav@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 <rohit.yadav@shapeblue.com>
Authored: Thu Sep 25 17:03:47 2014 +0200
Committer: Rohit Yadav <rohit.yadav@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");
              }


Mime
View raw message