mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-18 23:34:15 +01:00
corrected spelling
Former-commit-id: c40c47a6b198953b9ae4b5685ee08da5fcd7c0a5
This commit is contained in:
@@ -134,20 +134,20 @@ public class StandardUpdate {
|
|||||||
downloadExecutors.shutdownNow();
|
downloadExecutors.shutdownNow();
|
||||||
processExecutor.shutdownNow();
|
processExecutor.shutdownNow();
|
||||||
|
|
||||||
Logger.getLogger(StandardUpdate.class.getName()).log(Level.FINE, "Thread was interupted during download", ex);
|
Logger.getLogger(StandardUpdate.class.getName()).log(Level.FINE, "Thread was interrupted during download", ex);
|
||||||
throw new UpdateException("The download was interupted", ex);
|
throw new UpdateException("The download was interrupted", ex);
|
||||||
} catch (ExecutionException ex) {
|
} catch (ExecutionException ex) {
|
||||||
downloadExecutors.shutdownNow();
|
downloadExecutors.shutdownNow();
|
||||||
processExecutor.shutdownNow();
|
processExecutor.shutdownNow();
|
||||||
|
|
||||||
Logger.getLogger(StandardUpdate.class.getName()).log(Level.FINE, "Thread was interupted during download execution", ex);
|
Logger.getLogger(StandardUpdate.class.getName()).log(Level.FINE, "Thread was interrupted during download execution", ex);
|
||||||
throw new UpdateException("The execution of the download was interupted", ex);
|
throw new UpdateException("The execution of the download was interrupted", ex);
|
||||||
}
|
}
|
||||||
if (task == null) {
|
if (task == null) {
|
||||||
downloadExecutors.shutdownNow();
|
downloadExecutors.shutdownNow();
|
||||||
processExecutor.shutdownNow();
|
processExecutor.shutdownNow();
|
||||||
Logger.getLogger(StandardUpdate.class.getName()).log(Level.FINE, "Thread was interupted during download");
|
Logger.getLogger(StandardUpdate.class.getName()).log(Level.FINE, "Thread was interrupted during download");
|
||||||
throw new UpdateException("The download was interupted; unable to complete the update");
|
throw new UpdateException("The download was interrupted; unable to complete the update");
|
||||||
} else {
|
} else {
|
||||||
processFutures.add(task);
|
processFutures.add(task);
|
||||||
}
|
}
|
||||||
@@ -161,7 +161,7 @@ public class StandardUpdate {
|
|||||||
}
|
}
|
||||||
} catch (InterruptedException ex) {
|
} catch (InterruptedException ex) {
|
||||||
processExecutor.shutdownNow();
|
processExecutor.shutdownNow();
|
||||||
Logger.getLogger(StandardUpdate.class.getName()).log(Level.FINE, "Thread was interupted during processing", ex);
|
Logger.getLogger(StandardUpdate.class.getName()).log(Level.FINE, "Thread was interrupted during processing", ex);
|
||||||
throw new UpdateException(ex);
|
throw new UpdateException(ex);
|
||||||
} catch (ExecutionException ex) {
|
} catch (ExecutionException ex) {
|
||||||
processExecutor.shutdownNow();
|
processExecutor.shutdownNow();
|
||||||
|
|||||||
Reference in New Issue
Block a user