jdeferred / jdeferred

Java Deferred/Promise library similar to JQuery.

Home Page:jdeferred.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeferredPromise can be simplified by extending DelegatingPromise

sclassen opened this issue · comments

Almost all code from DeferredPromise can be deleted when the class extends DelegatingPromise.

There is a side effect to this change:

  • DeferredPromise will inherit the protected method Promise<D, F, P> getDelegate() from DelegatingPromise. Currently the promise is private and therefore not accessible outside of the DeferredPromise.

Fixed with #144