> + return new Predicate<IngressRule>() {
> + @Override
> + public boolean apply(IngressRule rule) {
> + return protocol.equals(rule.getProtocol())
> + && startPort == rule.getStartPort()
> + && endPort == rule.getEndPort()
> + && accountGroupNames.containsEntry(rule.getAccount(),
> rule.getSecurityGroupName());
> + }
> +
> + @Override
> + public String toString() {
> + return "ruleGroupMatches(" + protocol
> + + "," + startPort
> + + "," + endPort
> + + ",[" + accountGroupNames
> + + "])";
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#r7377720