brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <>
Subject [GitHub] incubator-brooklyn pull request: Finer-grained STOP effector param...
Date Wed, 07 Jan 2015 10:59:59 GMT
Github user neykov commented on a diff in the pull request:
    --- Diff: software/base/src/main/java/brooklyn/entity/software/
    @@ -614,6 +631,23 @@ public void stop(ConfigBag parameters) {
             if (log.isDebugEnabled()) log.debug("Stopped software process entity "+entity());
    +    @VisibleForTesting
    +    public static boolean canStop(StopMode stopMode, boolean isEntityStopped) {
    --- End diff --
    The method is used in a test from a different package, that's why the public visibility
is needed.
    I changed the code a bit - the method is now protected with the test code providing a
public wrapper, no need for the annotation. wdyt?

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