> +   private final Set<VirtualGuestBlockDeviceTemplateGroup> children;
> +   private final Set<VirtualGuestBlockDeviceTemplate> blockDevices;
> +
> +   @ConstructorProperties({
> +           "id", "name", "globalIdentifier", "statusId", "accountId", 
> "parentId", "summary", "children", "blockDevices"
> +   })
> +   protected VirtualGuestBlockDeviceTemplateGroup(int id, @Nullable String 
> name, @Nullable String globalIdentifier,
> +                                                  int statusId, int 
> accountId,  int parentId, @Nullable String summary,
> +                                                  @Nullable 
> Set<VirtualGuestBlockDeviceTemplateGroup> children,
> +                                                  @Nullable 
> Set<VirtualGuestBlockDeviceTemplate> blockDevices) {
> +      this.id = checkNotNull(id, "id");
> +      this.name = name;
> +      this.globalIdentifier = globalIdentifier;
> +      this.statusId = checkNotNull(statusId, "statusId");
> +      this.accountId = checkNotNull(accountId, "accountId");
> +      this.parentId = checkNotNull(parentId, "parentId");

Again here, primitives can't be null.

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

Reply via email to