pjfanning opened a new issue, #2625:
URL: https://github.com/apache/pekko/issues/2625
This is just one example (below). We have a lot of these warnings.
```
[warn]
/code/pekko/stream-tests/src/test/java/org/apache/pekko/stream/javadsl/SourceTest.java:1907:20:
unchecked call to expectNext(I) as a member of the raw type
org.apache.pekko.stream.testkit.TestSubscriber.ManualProbe
[warn] Source.from(Arrays.asList(1, 2))
[warn] .map(
[warn] elem -> {
[warn] if (elem == 2) {
[warn] throw new IllegalArgumentException("Boom");
[warn] } else {
[warn] return elem;
[warn] }
[warn] })
[warn] .onErrorResume(ex -> ex.getMessage().contains("Boom"), e ->
Source.single(0))
[warn] .runWith(TestSink.create(system), system)
[warn] .request(2)
[warn] .expectNext(1)
[warn] .expectNext(0)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]