Description:
|
private void waitForAsynchronousJobToStop() {
if(1==1) return;
if(future != null) {
try
{
future.get(CoreConstants.SECONDS_TO_WAIT_FOR_COMPRESSION_JOBS, TimeUnit.SECONDS);
}
catch (TimeoutException e)
{
addError("Timeout while waiting for compression job to finish", e);
}
catch (Exception e)
{
addError("Unexpected exception while waiting for compression job to finish", e);
}
}
}
The body of this method never executes (or at least until our current knowledge of logic and mathematics holds).
|