Skip to content

Commit 5bcb1de

Browse files
committed
PMD
1 parent 07859e0 commit 5bcb1de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

testcontainers-selenium/src/main/java/software/xdev/testcontainers/selenium/containers/browser/BrowserWebDriverContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
/**
6767
* A chrome/firefox/custom container based on SeleniumHQ's standalone container sets.
6868
*/
69-
@SuppressWarnings({"java:S119", "java:S2160"})
69+
@SuppressWarnings({"java:S119", "java:S2160", "PMD.GodClass"})
7070
public class BrowserWebDriverContainer<SELF extends BrowserWebDriverContainer<SELF>>
7171
extends GenericContainer<SELF>
7272
implements TestLifecycleAware

testcontainers-selenium/src/main/java/software/xdev/testcontainers/selenium/containers/recorder/SeleniumRecordingContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ protected Path resolveOutputFile(final Path directory, final String fileNameWith
193193
+ "."
194194
+ Optional.ofNullable(this.videoFileName)
195195
.filter(f -> f.contains("."))
196-
.map(f -> f.substring(f.lastIndexOf(".") + 1))
196+
.map(f -> f.substring(f.lastIndexOf('.') + 1))
197197
.orElse(""));
198198
}
199199

0 commit comments

Comments
 (0)