Skip to content

Commit 9501c57

Browse files
author
Fabricio Duarte
committed
Fix checkstyle & apply suggestions
1 parent 2292f08 commit 9501c57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/StorageOrchestrator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import java.util.Map;
2828
import java.util.concurrent.ArrayBlockingQueue;
2929
import java.util.concurrent.Callable;
30-
import java.util.concurrent.ConcurrentHashMap;
3130
import java.util.concurrent.ExecutionException;
3231
import java.util.concurrent.Future;
3332
import java.util.concurrent.ThreadPoolExecutor;
@@ -359,7 +358,7 @@ protected Map<Long, Pair<Long, Long>> migrateAway(
359358

360359
protected synchronized <T> Future<T> submit(Long zoneId, Callable<T> task) {
361360
if (!zoneExecutorMap.containsKey(zoneId)) {
362-
zoneExecutorMap.put(zoneId, new ThreadPoolExecutor(numConcurrentCopyTasksPerSSVM , numConcurrentCopyTasksPerSSVM,
361+
zoneExecutorMap.put(zoneId, new ThreadPoolExecutor(numConcurrentCopyTasksPerSSVM, numConcurrentCopyTasksPerSSVM,
363362
30, TimeUnit.MINUTES, new MigrateBlockingQueue<>(numConcurrentCopyTasksPerSSVM)));
364363
}
365364
scaleExecutorIfNecessary(zoneId);

0 commit comments

Comments
 (0)