From 6cdf43708c4c5f1a9656f4f5dbdccba47b062617 Mon Sep 17 00:00:00 2001 From: "David P. Baker" Date: Fri, 19 Jan 2024 14:19:17 -0500 Subject: [PATCH] Don't log a warning when `fixType` sees a type it doesn't understand. (#137) That's just noise. --- src/test/java/tests/ConformanceTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/test/java/tests/ConformanceTest.java b/src/test/java/tests/ConformanceTest.java index 8c0fc7f..b4a8253 100644 --- a/src/test/java/tests/ConformanceTest.java +++ b/src/test/java/tests/ConformanceTest.java @@ -34,7 +34,6 @@ import java.nio.file.Path; import java.nio.file.Paths; import java.util.Objects; -import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Stream; @@ -84,8 +83,6 @@ */ @RunWith(JUnit4.class) public final class ConformanceTest { - private static final Logger logger = Logger.getLogger(ConformanceTest.class.getCanonicalName()); - private static final ImmutableList OPTIONS = ImmutableList.of( "-AassumePure", @@ -248,7 +245,6 @@ public String toString() { private static String fixType(String type) { Matcher matcher = TYPE.matcher(type); if (!matcher.matches()) { - logger.warning(String.format("type \"%s\" did not match /%s/", type, TYPE.pattern())); return type; } String args = matcher.group("args");