Skip to content

Commit

Permalink
[Truffle] Fixed warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Dec 13, 2016
1 parent f584457 commit 8fbabef
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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");
}
}
Expand All @@ -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) {
Expand Down

0 comments on commit 8fbabef

Please sign in to comment.