File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/io/github/dgroup/term4j/arg Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public final class Joined<X> extends ArgEnvelope<Collection<X>> {
4242 * @param args All command-line arguments.
4343 * @param items The items to be merged into original value.
4444 */
45- public Joined (final Arg <Collection <X >> args , final X ... items ) {
45+ public Joined (final Arg <? extends Collection <X >> args , final X ... items ) {
4646 this (args , new CollectionOf <>(items ));
4747 }
4848
@@ -51,7 +51,7 @@ public Joined(final Arg<Collection<X>> args, final X... items) {
5151 * @param args All command-line arguments.
5252 * @param items The items to be merged into original value.
5353 */
54- public Joined (final Arg <Collection <X >> args , final Collection <X > items ) {
54+ public Joined (final Arg <? extends Collection <X >> args , final Collection <X > items ) {
5555 super (new Arg <Collection <X >>() {
5656 @ Override
5757 public String label () {
You can’t perform that action at this time.
0 commit comments