Pankraz76 commented on code in PR #2370:
URL: https://github.com/apache/maven/pull/2370#discussion_r2103939271


##########
its/core-it-support/core-it-plugins/maven-it-plugin-active-collection/src/main/java/org/apache/maven/plugin/coreit/CheckThreadSafetyMojo.java:
##########
@@ -95,7 +95,11 @@ public void run() {
                     getLog().info("[MAVEN-CORE-IT-LOG] Thread " + this + " 
uses " + tccl);
                     Thread.currentThread().setContextClassLoader(tccl);
                     while (go.isEmpty()) {
-                        // wait for start
+                        try {
+                            Thread.sleep(100); // wait for the start
+                        } catch (InterruptedException e) {

Review Comment:
   ide finding: `'continue' is unnecessary as the last statement in a loop `
   <img width="1156" alt="image" 
src="https://github.com/user-attachments/assets/6d50f67a-58f7-4ce2-88f9-887ba6b37c80";
 />
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to