> + else {
> + Server serverUpdated = serverApi.get(server.getId());
> + checkNotNull(serverUpdated, "Server %s not found.",
> server.getId());
> +
> + return status.equals(serverUpdated.getStatus());
> + }
> + }
> + }
> +
> + public static class ServerActivePredicate implements
> Predicate<ServerCreated> {
> + private final ServerApi serverApi;
> + private final Status status;
> +
> + public ServerActivePredicate(ServerApi serverApi, Status status) {
> + this.serverApi = serverApi;
> + this.status = status;
`checkNotNulls` here?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/355/files#r12030506