mirror of https://github.com/apache/jclouds.git
Suppress spurious ignored return value errors
Found with Guava 20.
This commit is contained in:
parent
d83282ca53
commit
be96b9f270
|
@ -61,6 +61,7 @@ public class RegionIdToURIFromAccessForTypeAndVersionTest {
|
|||
}
|
||||
}).getInstance(RegionIdToURISupplier.Factory.class);
|
||||
|
||||
@SuppressWarnings("CheckReturnValue")
|
||||
@Test(expectedExceptions = NoSuchElementException.class)
|
||||
public void testRegionUnmatches() {
|
||||
Maps.transformValues(factory.createForApiTypeAndVersion("compute", "1.0").get(),
|
||||
|
|
|
@ -61,6 +61,7 @@ public class ZoneIdToURIFromAccessForTypeAndVersionTest {
|
|||
}).getInstance(ZoneIdToURISupplier.Factory.class);
|
||||
|
||||
|
||||
@SuppressWarnings("CheckReturnValue")
|
||||
@Test(expectedExceptions = NoSuchElementException.class)
|
||||
public void testZoneUnmatches() {
|
||||
Maps.transformValues(factory.createForApiTypeAndVersion("compute", "1.0").get(),
|
||||
|
|
Loading…
Reference in New Issue