@Test(expected = NullPointerException.class) public void testAddAllNullPromise() { combiner.addAll(null); }
@SuppressWarnings({ "unchecked", "rawtypes" }) public void addAll(Promise... promises) { checkAddAllowed(); expectedCount += promises.length; for (Promise promise : promises) { promise.addListener(listener); } }
PromiseCombiner { @SuppressWarnings({ "unchecked", "rawtypes" }) public void addAll(Promise... promises) { checkAddAllowed(); expectedCount += promises.length; for (Promise promise : promises) { promise.addListener(listener); } } }
PromiseCombiner { @SuppressWarnings({ "unchecked", "rawtypes" }) public void addAll(Promise... promises) { checkAddAllowed(); expectedCount += promises.length; for (Promise promise : promises) { promise.addListener(listener); } }  }
PromiseCombiner { @SuppressWarnings({ "unchecked", "rawtypes" }) public void addAll(Promise... promises) { checkAddAllowed(); expectedCount += promises.length; for (Promise promise : promises) { promise.addListener(listener); } }  @SuppressWarnings({ "unchecked", "rawtypes" }) void add(Promise promise); @SuppressWarnings({ "unchecked", "rawtypes" }) void addAll(Promise... promises); void finish(Promise<Void> aggregatePromise); }
PromiseCombiner { @SuppressWarnings({ "unchecked", "rawtypes" }) public void addAll(Promise... promises) { checkAddAllowed(); expectedCount += promises.length; for (Promise promise : promises) { promise.addListener(listener); } }  @SuppressWarnings({ "unchecked", "rawtypes" }) void add(Promise promise); @SuppressWarnings({ "unchecked", "rawtypes" }) void addAll(Promise... promises); void finish(Promise<Void> aggregatePromise);  }