Skip to content

Commit

Permalink
pmd
Browse files Browse the repository at this point in the history
  • Loading branch information
dhalperi committed Dec 17, 2021
1 parent 8c4791f commit 0f79505
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4136,16 +4136,12 @@ public void exitIf_ipv6_access_group(If_ipv6_access_groupContext ctx) {
}
if (ctx.interface_acl != null) {
String name = toString(ctx.interface_acl);
CiscoXrStructureUsage usage = null;
CiscoXrStructureUsage usage;
if (ctx.INGRESS() != null) {
for (Interface currentInterface : _currentInterfaces) {
usage = INTERFACE_IPV6_ACCESS_GROUP_INGRESS;
}
usage = INTERFACE_IPV6_ACCESS_GROUP_INGRESS;
} else {
assert ctx.EGRESS() != null;
for (Interface currentInterface : _currentInterfaces) {
usage = INTERFACE_IPV6_ACCESS_GROUP_EGRESS;
}
usage = INTERFACE_IPV6_ACCESS_GROUP_EGRESS;
}
_configuration.referenceStructure(IPV6_ACCESS_LIST, name, usage, line);
}
Expand Down

0 comments on commit 0f79505

Please sign in to comment.