Github user dkhwangbo commented on a diff in the pull request:
https://github.com/apache/tajo/pull/858#discussion_r46547915
--- Diff:
tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
---
@@ -274,10 +274,8 @@ public void testDropDatabaseWithAllTables() throws
Exception {
Map<String, List<String>> createdTablesMap =
createBaseDatabaseAndTables();
// Each time we drop one database, check all databases and their
tables.
- Iterator<String> it = new
ArrayList<>(createdTablesMap.keySet()).iterator();
- while(it.hasNext()) {
+ for (String databaseName : new ArrayList<>(createdTablesMap.keySet()))
{
--- End diff --
Oh, I found that my above comment has no relation about this issue.
Creation of this array is needed because of 284 line in same file.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---