src/main/java/org/apache/commons/configuration2/web/JakartaServletRequestConfiguration.java [57:77]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected Object getPropertyInternal(final String key) {
        final String[] values = request.getParameterValues(key);

        if (values == null || values.length == 0) {
            return null;
        }
        if (values.length == 1) {
            return handleDelimiters(values[0]);
        }
        // ensure that escape characters in all list elements are removed
        final List<Object> result = new ArrayList<>(values.length);
        for (final String value : values) {
            final Object val = handleDelimiters(value);
            if (val instanceof Collection) {
                result.addAll((Collection<?>) val);
            } else {
                result.add(val);
            }
        }
        return result;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/commons/configuration2/web/ServletRequestConfiguration.java [57:77]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected Object getPropertyInternal(final String key) {
        final String[] values = request.getParameterValues(key);

        if (values == null || values.length == 0) {
            return null;
        }
        if (values.length == 1) {
            return handleDelimiters(values[0]);
        }
        // ensure that escape characters in all list elements are removed
        final List<Object> result = new ArrayList<>(values.length);
        for (final String value : values) {
            final Object val = handleDelimiters(value);
            if (val instanceof Collection) {
                result.addAll((Collection<?>) val);
            } else {
                result.add(val);
            }
        }
        return result;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



