Github user cicekhayri commented on a diff in the pull request:

    https://github.com/apache/tomee/pull/262#discussion_r240191213
  
    --- Diff: 
container/openejb-loader/src/main/java/org/apache/openejb/loader/FileUtils.java 
---
    @@ -20,18 +20,25 @@
     import java.io.FileNotFoundException;
     import java.io.IOException;
     import java.util.Hashtable;
    +import java.util.concurrent.ThreadLocalRandom;
     
     @SuppressWarnings("PMD.OverrideBothEqualsAndHashcode")
     public class FileUtils {
     
    -    private static final java.util.Random _random = new java.util.Random();
    +    private static final ThreadLocalRandom _random = 
ThreadLocalRandom.current();
    --- End diff --
    
    ohh didn't get that :(, I'm very sorry 
     I'll change it again and hopefully do it right :).. 


---

Reply via email to