code: private static String fromSystemPropOrEnv(String prop) {
  		String resolvedProp = System.getProperty(prop);
  		if (StringUtils.hasText(resolvedProp)) {
  			return resolvedProp;
  		}
  		return System.getenv(prop);
  	}
docs: system prop takes precedence over env var