AyushMhaisane commented on code in PR #2632:
URL: https://github.com/apache/pekko/pull/2632#discussion_r2703401034
##########
stream-tests/src/test/java/org/apache/pekko/stream/javadsl/SourceTest.java:
##########
@@ -123,16 +123,16 @@ public void mustBeAbleToUseSimpleOperators() {
@Test
public void mustBeAbleToCompleteWhenArrayIsEmpty() {
- Source.fromArray(new String[] {})
- .runWith(TestSink.create(system), system)
+ Source.<String>fromArray(new String[] {})
Review Comment:
Thanks @He-Pin, you were correct. I have removed the redundant <String> type
witness from Source.fromArray and updated the PR.
--
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]