> + }
> + }
> +
> + /**
> + * Create and Update options - extend the domain class, passed to API
> update and create calls.
> + * Essentially the same as the domain class. Ensure validation and safe
> typing.
> + */
> + public static class CreateOptions extends SecurityGroupRule {
> + /**
> + * Copy constructor
> + */
> + private CreateOptions(SecurityGroupRule securityGroupRule) {
> + super(securityGroupRule);
> + checkNotNull(securityGroupRule.direction, "direction should not be
> null");
> + checkNotNull(securityGroupRule.securityGroupId, "security group id
> should not be null");
> +
> checkState(securityGroupRule.getPortRangeMax()>=securityGroupRule.getPortRangeMin(),
Spaces necessary before and after `>=`
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/132/files#r16602579