code: private String resolveVarEnv(final String entryValue) {
  
          String value = entryValue;
          if (value != null) {
              value = checkPattern(value, ENV_VAR_PATTERN1, true);
              value = checkPattern(value, ENV_VAR_PATTERN2, false);
          }
          return value;
      }
docs: Resolve any environment variable found into the string.
  
  @param entryValue the string to check and resolve
  
  @return the final value with environment variable resolved