mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valery Kharseko
11 hours ago 7af51501d5a70e6cdff45d7c1c804f0e820d1d3a
opendj-cli/src/main/java/com/forgerock/opendj/cli/ArgumentParser.java
@@ -582,10 +582,20 @@
     * Retrieves the set of unnamed trailing arguments that were provided on the
     * command line.
     *
     * @return The set of unnamed trailing arguments that were provided on the
     * @return A copy of the set of unnamed trailing arguments that were provided on the
     *         command line.
     */
    public ArrayList<String> getTrailingArguments() {
        return new ArrayList<>(trailingArguments);
    }
    /**
     * Returns the live list of unnamed trailing arguments, so that a sub-class parsing the
     * command line can fill it in. Unlike {@link #getTrailingArguments()}, this does not copy.
     *
     * @return The list of unnamed trailing arguments held by this parser.
     */
    List<String> trailingArguments() {
        return trailingArguments;
    }