mirror of
https://github.com/google/nomulus
synced 2026-01-10 16:00:52 +00:00
Fix FOSS build
com.google.common.base.Randoms.insecureRandom is not open sourced. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=217598084
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
package google.registry.config;
|
||||
|
||||
import static com.google.common.base.Randoms.insecureRandom;
|
||||
import static com.google.common.base.Suppliers.memoize;
|
||||
import static google.registry.config.ConfigUtils.makeUrl;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
@@ -1268,7 +1267,7 @@ public final class RegistryConfig {
|
||||
@Singleton
|
||||
@Provides
|
||||
public static Random provideRandom() {
|
||||
return insecureRandom();
|
||||
return new Random();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user