Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2C608200BC1 for ; Tue, 1 Nov 2016 14:52:27 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2A98B160AE5; Tue, 1 Nov 2016 13:52:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 67658160B07 for ; Tue, 1 Nov 2016 14:52:26 +0100 (CET) Received: (qmail 7101 invoked by uid 500); 1 Nov 2016 13:52:25 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 6729 invoked by uid 99); 1 Nov 2016 13:52:25 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2016 13:52:25 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1ACCFE07EF; Tue, 1 Nov 2016 13:52:25 +0000 (UTC) From: neykov To: dev@brooklyn.apache.org Reply-To: dev@brooklyn.apache.org References: In-Reply-To: Subject: [GitHub] brooklyn-server pull request #390: BROOKLYN-356: fix race in transformer by ... Content-Type: text/plain Message-Id: <20161101135225.1ACCFE07EF@git1-us-west.apache.org> Date: Tue, 1 Nov 2016 13:52:25 +0000 (UTC) archived-at: Tue, 01 Nov 2016 13:52:27 -0000 Github user neykov commented on a diff in the pull request: https://github.com/apache/brooklyn-server/pull/390#discussion_r85919560 --- Diff: camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/dsl/methods/DslComponent.java --- @@ -224,6 +235,11 @@ public EntityId(DslComponent component) { } @Override + public Maybe getImmediately() { + return Maybe.of(component.get().getId()); --- End diff -- Should be `component.getImmediately().get().getId()` --- 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. ---