diff options
Diffstat (limited to 'server/sonar-main/src/test/java/org/sonar/application/AbstractStopRequestWatcherTest.java')
-rw-r--r-- | server/sonar-main/src/test/java/org/sonar/application/AbstractStopRequestWatcherTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-main/src/test/java/org/sonar/application/AbstractStopRequestWatcherTest.java b/server/sonar-main/src/test/java/org/sonar/application/AbstractStopRequestWatcherTest.java index a81e4cc1d97..7934e228046 100644 --- a/server/sonar-main/src/test/java/org/sonar/application/AbstractStopRequestWatcherTest.java +++ b/server/sonar-main/src/test/java/org/sonar/application/AbstractStopRequestWatcherTest.java @@ -37,7 +37,7 @@ public class AbstractStopRequestWatcherTest { @Rule public TestRule safeguardTimeout = new DisableOnDebug(Timeout.seconds(60)); - private String threadName = RandomStringUtils.randomAlphabetic(12); + private String threadName = RandomStringUtils.secure().nextAlphabetic(12); private TestBooleanSupplier booleanSupplier = new TestBooleanSupplier(); private TestAction stopAction = new TestAction(); |