From 3b0fe106a3ae1aefa83e3b04733ae1f30044c947 Mon Sep 17 00:00:00 2001 From: Henry Coles Date: Fri, 10 Jun 2022 13:38:45 +0100 Subject: [PATCH] update readme and remove dead code --- README.md | 1 + pitest/src/main/java/sun/pitest/CodeCoverageStore.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 26166e8f1..a1404463a 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Read all about it at http://pitest.org ### 1.8.1-SNAPSHOT * #1025 - Rework String Switch filtering +* #1027 - Rework assert filtering and remove legacy filter mechanism ### 1.8.0 diff --git a/pitest/src/main/java/sun/pitest/CodeCoverageStore.java b/pitest/src/main/java/sun/pitest/CodeCoverageStore.java index 5521dedd9..91e6e49ab 100644 --- a/pitest/src/main/java/sun/pitest/CodeCoverageStore.java +++ b/pitest/src/main/java/sun/pitest/CodeCoverageStore.java @@ -41,7 +41,6 @@ public final class CodeCoverageStore { .replace( '.', '/'); - public static final String PROBE_METHOD_NAME = "visitProbes"; private static InvokeReceiver invokeQueue; private static int classId = 0; @@ -81,7 +80,7 @@ public static synchronized Collection getHits() { continue; } final int classId = each.getKey(); - // final int[] mapping = classProbeToBlockMapping.get(classId); + for (int probeId = 1; probeId != bs.length; probeId++) { if (bs[probeId]) { blockHits.add(encode(classId, probeId));