brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geomacy <>
Subject [GitHub] brooklyn-server pull request #562: Provide a scratchpad area per management ...
Date Tue, 28 Feb 2017 16:22:24 GMT
Github user geomacy commented on a diff in the pull request:
    --- Diff: camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/
    @@ -65,7 +65,7 @@ public BrooklynCampPlatform(PlatformRootSummary root, ManagementContext
         /** finds and returns the {@link CampPlatform} registered for the management context,
or null if none */
         @Nullable public static CampPlatform findPlatform(ManagementContext mgmt) {
    -        return mgmt.getConfig().getConfig(BrooklynCampConstants.CAMP_PLATFORM);
    +        return (CampPlatform) mgmt.getScratchpad().get(BrooklynCampConstants.CAMP_PLATFORM);
    --- End diff --
    Don't need the cast, here and elsewhere.

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