package uk.co.jemos.podam.test.strategies;

import java.lang.annotation.Annotation;
import java.security.SecureRandom;
import java.util.List;

import uk.co.jemos.podam.common.AttributeStrategy;

public class ByteArrayStrategy implements AttributeStrategy<byte[]> {

	public static int LENGTH = 20;
	private static final SecureRandom RANDOM = new SecureRandom();

	@Override
	public byte[] getValue(Class<?> attrType, List<Annotation> annotations) {
		byte[] b = new byte[LENGTH];
		RANDOM.nextBytes(b);
		return b;
	}
}

@@ -93,23 +93,35 @@
 ava.
-security.Se
+util.con
 cur
+r
 e
+nt.ThreadLocal
 Rand
@@ -306,72 +306,8 @@
  20;
-%0A%09private static final SecureRandom RANDOM = new SecureRandom();
 %0A%0A%09@
@@ -427,14 +427,35 @@
 ;%0A%09%09
-RANDOM
+ThreadLocalRandom.current()
 .nex

Use ThreadLocalRandom everywhere