brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #835: Tasks subsystem improvements - adjuncts, ...
Date Thu, 05 Oct 2017 12:37:30 GMT
Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/835#discussion_r142921455
  
    --- Diff: core/src/test/java/org/apache/brooklyn/core/entity/EntityAssertsTest.java ---
    @@ -85,12 +83,7 @@ public void shouldAssertAttributeEqualsEventually() throws Exception
{
             entity.sensors().set(TestEntity.NAME, "before");
             final String after = "after";
     
    -        Task<?> assertValue = entity.getExecutionContext().submit(new Runnable()
{
    -            @Override
    -            public void run() {
    -                EntityAsserts.assertAttributeEqualsEventually(entity, TestEntity.NAME,
after);
    -            }
    -        });
    +        Task<?> assertValue = entity.getExecutionContext().submit("assert attr
equals", () -> EntityAsserts.assertAttributeEqualsEventually(entity, TestEntity.NAME, after));
    --- End diff --
    
    Preference breaking a long line across multiple lines.


---

Mime
View raw message