> +      public T activeTransactionCount(int activeTransactionCount) {
> +         this.activeTransactionCount = activeTransactionCount;
> +         return self();
> +      }
> +
> +      /**
> +       * @see VirtualGuest#getVirtualGuestBlockDevices()
> +       */
> +
> +      public T blockDevices(Set<VirtualGuestBlockDevice> blockDevices) {
> +         this.blockDevices = ImmutableSet.copyOf(checkNotNull(blockDevices, 
> "blockDevices"));
> +         return self();
> +      }
> +
> +      public T blockDevices(VirtualGuestBlockDevice... in) {
> +         return blockDevices(ImmutableSet.copyOf(in));

Add a check to prevent a `null` input.

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

Reply via email to