Fixed old styles

This commit is contained in:
Jongyoul Lee 2016-06-09 23:17:24 +09:00
parent 99ce452b68
commit 998352c4e7

View file

@ -60,7 +60,7 @@ public class SqlCompleter extends StringsCompleter {
}
};
private Set<String> modelCompletions = new HashSet<String>();
private Set<String> modelCompletions = new HashSet<>();
public SqlCompleter(Set<String> allCompletions, Set<String> dataModelCompletions) {
super(allCompletions);
@ -219,8 +219,8 @@ public class SqlCompleter extends StringsCompleter {
}
logger.debug(Joiner.on(',').join(names));
} catch (Throwable t) {
logger.error("Failed to retrieve the column name", t);
} catch (Exception e) {
logger.error("Failed to retrieve the column name", e);
}
}
@ -238,8 +238,8 @@ public class SqlCompleter extends StringsCompleter {
} finally {
schemas.close();
}
} catch (Throwable t) {
logger.error("Failed to retrieve the column name", t);
} catch (Exception e) {
logger.error("Failed to retrieve the column name", e);
}
}