From b8de1c1581ee0c67780a91fd89c4879c86526440 Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Fri, 8 Dec 2017 15:37:22 +0100 Subject: Replaced Zone with ZoneId two places where only that part was used --- .../src/main/java/com/yahoo/config/provision/Zone.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config-provisioning/src') diff --git a/config-provisioning/src/main/java/com/yahoo/config/provision/Zone.java b/config-provisioning/src/main/java/com/yahoo/config/provision/Zone.java index 56bbd82c761..b69795a4f95 100644 --- a/config-provisioning/src/main/java/com/yahoo/config/provision/Zone.java +++ b/config-provisioning/src/main/java/com/yahoo/config/provision/Zone.java @@ -8,7 +8,7 @@ import com.yahoo.cloud.config.ConfigserverConfig; import java.util.Optional; /** - * The zone (environment + region) of this runtime. + * The zone (environment + region) of this runtime, and some other information. * An injected instance of this will return the correct current environment and region. * Components can use this to obtain information about which zone they are running in. * @@ -29,12 +29,12 @@ public class Zone extends ZoneId { nodeFlavors); } - /** Create from environment and region */ + /** Create from environment and region. Use for testing. */ public Zone(Environment environment, RegionName region) { this(SystemName.defaultSystem(), environment, region); } - /** Create from system, environment and region */ + /** Create from system, environment and region. Use for testing. */ public Zone(SystemName systemName, Environment environment, RegionName region) { this(systemName, environment, region, new FlavorDefaults("default"), null); } -- cgit v1.2.3