> +      return new Predicate<IngressRule>() {
> +         @Override
> +         public boolean apply(IngressRule rule) {
> +            return protocol.equals(rule.getProtocol())
> +                    && startPort == rule.getStartPort()
> +                    && endPort == rule.getEndPort()
> +                    && cidrs.contains(rule.getCIDR());
> +         }
> +
> +         @Override
> +         public String toString() {
> +            return "ruleCidrMatches(" + protocol
> +                    + "," + startPort
> +                    + "," + endPort
> +                    + ",[" + cidrs
> +                    + "])";

Add the names of the fields/properties to the `toString`?

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

Reply via email to