bug fixed auto completion for postgresql interpreter

This commit is contained in:
CloverHearts 2016-07-05 00:04:10 +09:00
parent a7a6539990
commit bb24bc0d96

View file

@ -114,10 +114,10 @@ public class PostgreSqlInterpreter extends Interpreter {
private SqlCompleter sqlCompleter;
private static final Function<CharSequence, String> sequenceToStringTransformer =
new Function<CharSequence, String>() {
public String apply(CharSequence seq) {
return seq.toString();
private static final Function<CharSequence, InterpreterCompletion> sequenceToStringTransformer =
new Function<CharSequence, InterpreterCompletion>() {
public InterpreterCompletion apply(CharSequence seq) {
return new InterpreterCompletion(seq.toString(), seq.toString());
}
};