Skip to content

Commit

Permalink
StringsCompleter: changed stringsSupplier to Collection, #464
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed Nov 12, 2019
1 parent a890660 commit 440d57e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
public class StringsCompleter implements Completer
{
protected Collection<Candidate> candidates = new ArrayList<>();
protected Supplier<List<String>> stringsSupplier;
protected Supplier<Collection<String>> stringsSupplier;

public StringsCompleter() {
}

public StringsCompleter(Supplier<List<String>> stringsSupplier) {
public StringsCompleter(Supplier<Collection<String>> stringsSupplier) {
assert stringsSupplier != null;
candidates = null;
this.stringsSupplier = stringsSupplier;
Expand Down

0 comments on commit 440d57e

Please sign in to comment.