Skip to content

Commit

Permalink
supplemental: removed conditional that checks suppression list
Browse files Browse the repository at this point in the history
  • Loading branch information
MANISH-K-07 authored and rnveach committed Apr 26, 2024
1 parent 101e623 commit 40a1bba
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ public class XpathRegressionTest extends AbstractModuleTestSupport {

private static final Set<String> INTERNAL_MODULES = getInternalModules();

// Checks whose files need to be renamed to new pattern "InputXpath{Check}Xxx.java"
// until https://github.com/checkstyle/checkstyle/issues/14715
private static final Set<String> RENAME_INPUT_XPATH = Set.of();

private Path javaDir;
private Path inputDir;

Expand Down Expand Up @@ -272,7 +268,7 @@ private static void validateInputDirectory(Path checkDir) throws IOException {
try (DirectoryStream<Path> inputPaths = Files.newDirectoryStream(checkDir)) {
for (Path inputPath : inputPaths) {
final String filename = inputPath.toFile().getName();
if (filename.endsWith("java") && !RENAME_INPUT_XPATH.contains(check)) {
if (filename.endsWith("java")) {
final Matcher matcher = pattern.matcher(filename);
assertWithMessage(
"Invalid input file '" + inputPath
Expand Down

0 comments on commit 40a1bba

Please sign in to comment.