package org.wso2.carbon.apimgt.core.configuration.models;

import org.wso2.carbon.apimgt.core.util.APIMgtConstants;
import org.wso2.carbon.config.annotation.Configuration;
import org.wso2.carbon.config.annotation.Element;

import java.util.Collections;
import java.util.List;

/**
 * Class to hold Environment configurations
 */
@Configuration(description = "Environment Configurations")
public class EnvironmentConfigurations {
    @Element(description = "list of web clients (eg: 127.0.0.1:9292) allowed to make requests to the current environment\n" +
            "(use '" + APIMgtConstants.CORSAllowOriginConstants.ALLOW_ALL_ORIGINS + "' to allow any web client)")
    private List<String> allowedHosts = Collections.singletonList(
            APIMgtConstants.CORSAllowOriginConstants.ALLOW_ALL_ORIGINS);

    //Unique name for environment to set cookies by backend
    @Element(description = "current environment's label from the list of environments")
    private String environmentLabel = "Default";

    public List<String> getAllowedHosts() {
        return allowedHosts;
    }

    public void setAllowedHosts(List<String> allowedHosts) {
        this.allowedHosts = allowedHosts;
    }

    public String getEnvironmentLabel() {
        return environmentLabel;
    }

    public void setEnvironmentLabel(String environmentLabel) {
        this.environmentLabel = environmentLabel;
    }
}

@@ -494,19 +494,17 @@
 292)
+ to
  allow
-ed to
  mak
@@ -517,15 +517,27 @@
 ests
- to the
+%22%0A            + %22to
  cur
@@ -558,25 +558,8 @@
 nt%5Cn
-%22 +%0A            %22
 (use
@@ -624,16 +624,28 @@
 RIGINS +
+%0A           
  %22' to a

Fix check style issue exceeding no of chars in one line