fix groovy oddness

pull/53/head
Zlatin Balevsky 2020-10-25 14:51:35 +00:00
parent 71edcae38a
commit 2b125ecb1a
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class HasherService {
} }
void start() { void start() {
executor = Executors.newFixedThreadPool(Math.max(1, Runtime.getRuntime().availableProcessors() / 2 )) executor = Executors.newFixedThreadPool((int)Math.max(1d, Runtime.getRuntime().availableProcessors() / 2d ))
} }
void onFileSharedEvent(FileSharedEvent evt) { void onFileSharedEvent(FileSharedEvent evt) {