Skip to content

Commit

Permalink
Don't log a warning when fixType sees a type it doesn't understand. (
Browse files Browse the repository at this point in the history
…#137)

That's just noise.
  • Loading branch information
netdpb authored Jan 19, 2024
1 parent c7d34ee commit 6cdf437
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/test/java/tests/ConformanceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<String> OPTIONS =
ImmutableList.of(
"-AassumePure",
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 6cdf437

Please sign in to comment.