vrozov commented on a change in pull request #1264:  DRILL-6422: Update guava 
to 23.0 and shade it
URL: https://github.com/apache/drill/pull/1264#discussion_r200415939
 
 

 ##########
 File path: 
contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/schema/HiveDatabaseSchema.java
 ##########
 @@ -69,7 +70,7 @@ public Table getTable(String tableName) {
         tables = Sets.newHashSet(mClient.getTableNames(this.name, 
schemaConfig.getIgnoreAuthErrors()));
       } catch (final TException e) {
         logger.warn("Failure while attempting to access HiveDatabase '{}'.", 
this.name, e.getCause());
-        tables = Sets.newHashSet(); // empty set.
+        tables = new HashSet<>(); // empty set.
 
 Review comment:
   `Collections.emptySet()`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to