mirror of
https://github.com/google/nomulus
synced 2026-09-11 10:36:25 +00:00
Upgrade apache_sshd CL #2: Update to v1_2_0
This changelist makes the newly added v1_2_0 the default and fixes incompatibilities ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125609347
This commit is contained in:
@@ -16,16 +16,13 @@ package google.registry.testing;
|
||||
|
||||
import javax.inject.Provider;
|
||||
|
||||
/** Helper functions for {@link Provider} */
|
||||
/** Helper functions for {@link Provider}. */
|
||||
public final class Providers {
|
||||
|
||||
/**
|
||||
* Returns a {@link Provider} that supplies a constant value.
|
||||
*
|
||||
* @deprecated Add {@code //third_party/java/inject_common} as a dependency and then use
|
||||
* {@link com.google.common.inject.Providers#of} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public static <T> Provider<T> of(final T instance) {
|
||||
return new Provider<T>() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user