Github user aledsage commented on a diff in the pull request: https://github.com/apache/incubator-brooklyn/pull/367#discussion_r21083555 --- Diff: core/src/main/java/brooklyn/location/access/PortForwardManagerAuthority.java --- @@ -19,9 +19,23 @@ package brooklyn.location.access; +import brooklyn.entity.Entity; +import brooklyn.entity.basic.EntityInternal; + /** * @deprecated since 0.7.0; use {@link PortForwardManagerImpl} */ @Deprecated public class PortForwardManagerAuthority extends PortForwardManagerImpl { + private final Entity owningEntity; + + public PortForwardManagerAuthority(Entity owningEntity) { + this.owningEntity = owningEntity; + } + + protected void onChanged() { + if (owningEntity != null) { --- End diff -- Can you add `} else { super.onChanged(); }`
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---