public static String getPropertyIgnoreCase()

in impl/src/main/java/org/apache/rocketmq/remoting/internal/PropertyUtils.java [31:41]


    public static String getPropertyIgnoreCase(final Properties properties, final String key) {
        String value = null;
        if (properties != null) {
            for (Map.Entry<Object, Object> next : properties.entrySet()) {
                if (next.getKey().toString().equalsIgnoreCase(key)) {
                    return next.getValue().toString();
                }
            }
        }
        return value;
    }