jclouds-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-127 (#32)
Date Mon, 17 Jun 2013 13:32:17 GMT
>     }
>  
> +   @Test
> +   void testCloserCallOneClose() throws IOException, InterruptedException {
> +      Injector i = createInjector();
> +      final Closer closer = i.getInstance(Closer.class);
> +      assert closer.getState() == Closer.State.OPEN;

This `assert` is not necessary, other tests already verify that the closer starts in state
`OPEN`. And I don't think the final is needed either.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/32/files#r4723801

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message