simplify things a bit

This commit is contained in:
Xavier Léauté 2014-01-09 14:45:13 -08:00
parent 632d6b0a78
commit ca90530085
1 changed files with 1 additions and 5 deletions

View File

@ -26,11 +26,7 @@ import java.util.Set;
public class RandomServerSelectorStrategy implements ServerSelectorStrategy
{
Random random;
public RandomServerSelectorStrategy() {
this.random = new Random();
}
private static final Random random = new Random();
@Override
public QueryableDruidServer pick(Set<QueryableDruidServer> servers)