You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/11/02 23:45:46 UTC

[commons-bcel] branch master updated: Remove duplicate

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git


The following commit(s) were added to refs/heads/master by this push:
     new 59b0cc20 Remove duplicate
59b0cc20 is described below

commit 59b0cc20d7c6a32b84cf3b3ff3baf7ff713bca87
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Wed Nov 2 19:45:42 2022 -0400

    Remove duplicate
---
 .../java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java     | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java b/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
index 194ec983..be1cdb12 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
+++ b/src/main/java/org/apache/bcel/verifier/structurals/ExceptionHandlers.java
@@ -50,7 +50,6 @@ public class ExceptionHandlers {
             final ExceptionHandler eh = new ExceptionHandler(ceg.getCatchType(), ceg.getHandlerPC());
             for (InstructionHandle ih = ceg.getStartPC(); ih != ceg.getEndPC().getNext(); ih = ih.getNext()) {
                 exceptionHandlers.computeIfAbsent(ih, k -> new HashSet<>()).add(eh);
-                exceptionHandlers.computeIfAbsent(ih, k -> new HashSet<>()).add(eh);
             }
         }
     }