prince-of-versions/src/main/java/co/infinum/princeofversions/threading/ExecutorServiceVersionVerifier.java
private void ifTaskIsCancelledThrowInterrupt() {
        if (future != null && future.isCancelled()) {
            throw new CancellationException();
        }
    }
/**
     * Checks if loading is cancelled and throwing interrupt if it is.
     *
     * @throws InterruptedException if loading is cancelled.
     */
Checks if loading is cancelled and throwing interrupt if it is.
@throws InterruptedException if loading is cancelled.
Checks if loading is cancelled and throwing interrupt if it is . @throws InterruptedException if loading is cancelled .
private void ifTaskIsCancelledThrowInterrupt() {
        if (future != null && future.isCancelled()) {
            throw new CancellationException();
        }
    }
private void ifTaskIsCancelledThrowInterrupt ( ) { if ( future != null && future . isCancelled ( ) ) { throw new CancellationException ( ) ; } }
Checks if loading is cancelled and throwing interrupt if it is.
Checks if loading is cancelled and throwing interrupt if it is .