mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Fixed old styles
This commit is contained in:
parent
99ce452b68
commit
998352c4e7
1 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue