mirror of
https://github.com/google/nomulus.git
synced 2025-06-28 23:33:36 +02:00
Clean up some code quality issues in GCP proxy
All changes are suggested by IntelliJ code inspection. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189586104
This commit is contained in:
parent
22b575b17d
commit
c72e01f75e
13 changed files with 27 additions and 32 deletions
|
@ -62,8 +62,7 @@ public class MetricParametersTest {
|
|||
ZONE_PATH,
|
||||
zoneConnection);
|
||||
private final HashMap<String, String> fakeEnvVarMap = new HashMap<>();
|
||||
private final Function<String, HttpURLConnection> fakeConnectionFactory =
|
||||
path -> mockConnections.get(path);
|
||||
private final Function<String, HttpURLConnection> fakeConnectionFactory = mockConnections::get;
|
||||
|
||||
private final MetricParameters metricParameters =
|
||||
new MetricParameters(fakeEnvVarMap, fakeConnectionFactory);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue