cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jburwell <>
Subject [GitHub] cloudstack pull request #1635: CLOUDSTACK-9451
Date Mon, 29 Aug 2016 01:37:24 GMT
Github user jburwell commented on a diff in the pull request:
    --- Diff: engine/api/src/org/apache/cloudstack/engine/cloud/entity/api/
    @@ -115,6 +115,12 @@ String reserve(DeploymentPlanner plannerToUse, @BeanParam DeploymentPlan
plan, E
         boolean stop(String caller) throws ResourceUnavailableException, CloudException;
    +     * Stop the virtual machine, optionally force
    +     *
    +     */
    +    boolean stop(String caller, boolean forced) throws ResourceUnavailableException,
    --- End diff --
    [Flag arguments]( are a nasty code smell/anti-pattern.
 Please consider changing method to something more descriptive with a flag argument such as
``forceStop(String caller)``.  The contrasting version of the method already exists on the
interface so it would be a compatible change.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message