> +import static com.google.common.base.Preconditions.checkNotNull;
> +
> +/**
> + * @author Andrea Turli
> + */
> +public class Tag {
> +   private final int accountId;
> +   private final int id;
> +   private final int internal;
> +   private final String name;
> +
> +   @ConstructorProperties({"accountId", "id", "internal", "name"} )
> +   public Tag(int accountId, int id, int internal, String name) {
> +      this.accountId = checkNotNull(accountId, "accountId");
> +      this.id = checkNotNull(id, "id");
> +      this.internal = checkNotNull(internal, "internal");

Remove null check for primitives.

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

Reply via email to