forked from External/mage
We're gonna use standart parameterised constructor, instead of addAll method.
This commit is contained in:
parent
192110cd68
commit
433b08238f
3 changed files with 3 additions and 6 deletions
|
|
@ -388,8 +388,7 @@ public class TableManager {
|
|||
debugServerState();
|
||||
}
|
||||
logger.debug("TABLE HEALTH CHECK");
|
||||
ArrayList<Table> tableCopy = new ArrayList<>();
|
||||
tableCopy.addAll(tables.values());
|
||||
ArrayList<Table> tableCopy = new ArrayList<>(tables.values());
|
||||
for (Table table : tableCopy) {
|
||||
try {
|
||||
if (table.getState() != TableState.FINISHED) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue