package thed;

import java.util.Random;

/**
 * ThreadLocal for java.util.Random instances.
 *
 * @author Derek Mulvihill - Sep 2, 2013
 */
public class DRandom {
    private static ThreadLocal<Random> random = new ThreadLocal<Random>() {
        protected Random initialValue() {
            return new Random();
        }
    };

    public static Random get() {
        return random.get();
    }
}

@@ -32,16 +32,63 @@
 .Random;
+%0Aimport java.util.concurrent.ThreadLocalRandom;
 %0A%0A/**%0A *
@@ -207,177 +207,8 @@
 m %7B%0A
-    private static ThreadLocal%3CRandom%3E random = new ThreadLocal%3CRandom%3E() %7B%0A        protected Random initialValue() %7B%0A            return new Random();%0A        %7D%0A    %7D;%0A%0A
     
@@ -248,24 +248,32 @@
     
-return random.ge
+ThreadLocalRandom.curren
 t();

Use ThreadLocalRandom instead of ThreadLocal<Random>