Untitled

mail@pastecode.io avatar
unknown
java
a year ago
469 B
2
Indexable
public StringBuilder validateEnvDetails(List<EaiApimEnvDtl> envDtlList, String envType) throws ApimgatewayException {
        StringBuilder strBuilder = new StringBuilder();
        //TODO: Why can there not be ==2 environment details?
        if (envDtlList == null || envDtlList.size() != 2) {
            strBuilder.append("Environment Details: No environment details entry submitted. At least one environment detail entry is required.");
        }
        ...