mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Run automatic Java 8 conversion over codebase
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171174380
This commit is contained in:
parent
44df5da771
commit
5edb7935ed
190 changed files with 2312 additions and 3096 deletions
|
@ -16,7 +16,6 @@ package google.registry.config;
|
|||
|
||||
import static com.google.common.base.Suppliers.memoize;
|
||||
import static google.registry.config.ConfigUtils.makeUrl;
|
||||
import static google.registry.config.YamlUtils.getConfigSettings;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
|
@ -1270,11 +1269,7 @@ public final class RegistryConfig {
|
|||
* change the contents of the YAML config files.
|
||||
*/
|
||||
private static final Supplier<RegistryConfigSettings> CONFIG_SETTINGS =
|
||||
memoize(new Supplier<RegistryConfigSettings>() {
|
||||
@Override
|
||||
public RegistryConfigSettings get() {
|
||||
return getConfigSettings();
|
||||
}});
|
||||
memoize(YamlUtils::getConfigSettings);
|
||||
|
||||
private RegistryConfig() {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue