netty5/common
Norman Maurer cba3b4dd57
Change visibility of DefaultPromise to push users to use EventExecutor methods (#11646)
Motivation:

While we use DefaultPromise as our implementation of Promise and Future users should not really use it directly. Users should always use the EventExecutor / EventLoop to create a Promise / Future.

Modifications:

- Change static Promise methods to be package-private
- Add default implementations for Promise and Future creation to EventExecutor
- Change public constructor to protected
- Remove usage of DefaultPromise in our tests

Result:

Less likely users will depend on the actual Promise implementation
2021-09-02 19:11:01 +02:00
..
src Change visibility of DefaultPromise to push users to use EventExecutor methods (#11646) 2021-09-02 19:11:01 +02:00
pom.xml Update graal annotations dependencies GAV to allow license GPL2+CE (#11404) 2021-06-21 16:11:57 +02:00