> +      this.sourceMac = sourceMac;
> +      return self();
> +      }
> +
> +      public B targetIp(String targetIp) {
> +      this.targetIp = targetIp;
> +      return self();
> +      }
> +
> +      public abstract B self();
> +
> +      public abstract D build();
> +
> +      protected void checkPortRange() {
> +      checkArgument((portRangeEnd == null && portRangeStart == null)
> +              || (portRangeEnd != null && portRangeStart != null), "Port 
> range must be both present or null");

Oooh clever. That's something I need to remember

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

Reply via email to