Skip to content

Commit

Permalink
Ignore SpotBugs warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jan 11, 2024
1 parent c6cf1c2 commit 691cdc0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import org.junit.jupiter.api.Test;

import edu.hm.hafner.analysis.ModuleDetector.FileSystem;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

import static org.assertj.core.api.Assertions.*;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.ArgumentMatchers.*;
import static org.mockito.Mockito.*;

class AntModuleDetectorTest extends AbstractModuleDetectorTest {
Expand All @@ -19,7 +19,7 @@ String getPathPrefix() {
return PATH_PREFIX_ANT;
}

@Override
@Override @SuppressFBWarnings("NM")
String getFileName() {
return getPathPrefix() + "something.txt";
}
Expand All @@ -44,4 +44,4 @@ void shouldIdentifyModuleByReadingAntProjectFile() {
assertThat(detector.guessModuleName(PREFIX + "path/to/something.txt"))
.isEqualTo(StringUtils.EMPTY);
}
}
}

0 comments on commit 691cdc0

Please sign in to comment.