// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.cloud;

import com.google.inject.Inject;
import com.yahoo.cloud.config.ConfigserverConfig;

/**
 * Provides information about the system in which this container is running.
 * This is available and can be injected when running in a cloud environment.
 *
 * @author bratseth
 */
public class SystemInfo {

    private final Zone zone;

    /** Do not use */
    @SuppressWarnings("unused")
    @Inject
    public SystemInfo(ConfigserverConfig config) {
        this.zone = new Zone(Environment.valueOf(config.environment()), config.region());
    }

    /** Create an instance for testing */
    public SystemInfo(Zone zone) {
        this.zone = zone;
    }

    /** Returns the zone this is running in */
    public Zone zone() { return zone; }

}

@@ -484,40 +484,8 @@
  */%0A
-    @SuppressWarnings(%22unused%22)%0A
     

Remove SuppressWarning