From 053edd3d0d015919d6525aadde80d5f079525b3a Mon Sep 17 00:00:00 2001 From: Jason <11360596+jpenilla@users.noreply.github.com> Date: Tue, 22 Aug 2023 15:11:43 -0700 Subject: [PATCH] Add missing break for IBinding.PACKAGE (#2) --- src/main/java/org/cadixdev/mercury/remapper/RemapperVisitor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/cadixdev/mercury/remapper/RemapperVisitor.java b/src/main/java/org/cadixdev/mercury/remapper/RemapperVisitor.java index 377ced7..dbcabf0 100644 --- a/src/main/java/org/cadixdev/mercury/remapper/RemapperVisitor.java +++ b/src/main/java/org/cadixdev/mercury/remapper/RemapperVisitor.java @@ -191,6 +191,7 @@ protected void visit(SimpleName node, IBinding binding) { // This is ignored because it should be covered by separate handling // of QualifiedName (for full-qualified class references), // PackageDeclaration and ImportDeclaration + break; default: throw new IllegalStateException("Unhandled binding: " + binding.getClass().getSimpleName() + " (" + binding.getKind() + ')'); }