Skip to content

Commit

Permalink
removed unused variable and modified catch
Browse files Browse the repository at this point in the history
  • Loading branch information
sb89594 committed Oct 20, 2023
1 parent 519c135 commit 3fabda2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public Expr apply(final List<Expr> args)
try {
final Expr arg = args.get(0);
final IPAddressString blockString = getSubnetInfo(args);
final IPAddress block = blockString.toAddress().toPrefixBlock();

class IPv6AddressMatchExpr extends ExprMacroTable.BaseScalarUnivariateMacroFunctionExpr
{
Expand Down Expand Up @@ -121,7 +120,7 @@ public ExpressionType getOutputType(InputBindingInspector inspector)

return new IPv6AddressMatchExpr(arg);
}
catch (AddressStringException e) {
catch (Exception e) {
throw processingFailed(e, "failed to parse address");
}
}
Expand Down

0 comments on commit 3fabda2

Please sign in to comment.