brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #338: Support nested catalog item definitions -...
Date Thu, 05 Jan 2017 13:11:03 GMT
Github user neykov commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/338#discussion_r94763362
  
    --- Diff: core/src/main/java/org/apache/brooklyn/core/objs/AbstractBrooklynObject.java
---
    @@ -51,7 +55,7 @@
         @SetFromFlag("id")
         private String id = Identifiers.makeRandomLowercaseId(10);
     
    -    private String catalogItemId;
    +    private Deque<String> catalogItemIdStack = new ArrayDeque<>();
    --- End diff --
    
    `BrooklynObject`s get created by calling their constructors so removing `catalogItemId`
and initializing `catalogItemIdStack`  should be safe.


---
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