Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -306,7 +306,7 @@ private int wordIndexOf(String buffer) {
return index;
}

public int complete(String buffer, int cursor, List candidates) {
public int complete(String buffer, int cursor, List<CharSequence> candidates) {
throw new UnsupportedOperationException("auto-completion via proc not yet supported");
}
}
@@ -317,7 +317,7 @@ public static class RubyFileNameCompleter extends FileNameCompleter {

@TruffleBoundary
@Override
public int complete(String buffer, int cursor, List candidates) {
public int complete(String buffer, int cursor, List<CharSequence> candidates) {
buffer = buffer.substring(0, cursor);
int index = buffer.lastIndexOf(" ");
if (index != -1) {

0 comments on commit 8fbabef

Please sign in to comment.