public static void setProperty(final Environment env, final Properties properties, final String propertyKey) {
        String propertyValue = env.getProperty(propertyKey);
        if (propertyValue != null && !propertyValue.isEmpty()) {
            properties.put(propertyKey, propertyValue);
        }
    }