brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Replaced deprecated constructor
Date Mon, 01 Dec 2014 11:33:53 GMT
Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/367#discussion_r21083487
  
    --- 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;
    --- End diff --
    
    Oh, I take it back. That constructor doesn't exist in super. This is fine.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message