protonj2-client/src/main/java/org/apache/qpid/protonj2/client/futures/BalancedClientFuture.java [111:133]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    synchronized (this) {
                        if (isComplete()) {
                            break;
                        } else if (getState() < COMPLETING) {
                            waiting++;
                            try {
                                wait();
                            } catch (InterruptedException e) {
                                Thread.interrupted();
                                throw e;
                            } finally {
                                waiting--;
                            }
                        }
                    }
                }
            }
        }

        if (error != null) {
            throw error;
        } else {
            return getResult();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



protonj2-client/src/main/java/org/apache/qpid/protonj2/client/futures/ConservativeClientFuture.java [92:112]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            synchronized (this) {
                if (isComplete()) {
                    break;
                } else if (getState() < COMPLETING) {
                    waiting++;
                    try {
                        wait();
                    } catch (InterruptedException e) {
                        Thread.interrupted();
                        throw e;
                    } finally {
                        waiting--;
                    }
                }
            }
        }

        if (error != null) {
            throw error;
        } else {
            return getResult();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



