You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/04/26 06:15:45 UTC
[GitHub] [pulsar] mattisonchao opened a new pull request, #15329: [improve][common] Use `Collection` instead of `List` parameter type.
mattisonchao opened a new pull request, #15329:
URL: https://github.com/apache/pulsar/pull/15329
### Motivation
We can use `Collection` instead of `List` parameter type in `FutureUtil` for better compatibility.
For example when we need to use the values of `Map`:
```java
FutureUtil.waitForAll(map.values());
```
### Modifications
- Use `Collection` instead of `List` parameter type.
### Verifying this change
- [x] Make sure that the change passes the CI checks.
### Documentation
- [x] `no-need-doc`
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] mattisonchao commented on pull request #15329: [improve][common] Use `Collection` instead of `List` for FutureUtil.
Posted by GitBox <gi...@apache.org>.
mattisonchao commented on PR #15329:
URL: https://github.com/apache/pulsar/pull/15329#issuecomment-1109544155
/pulsarbot rerun-failure-checks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] RobertIndie merged pull request #15329: [improve][common] Use `Collection` instead of `List` for FutureUtil.
Posted by GitBox <gi...@apache.org>.
RobertIndie merged PR #15329:
URL: https://github.com/apache/pulsar/pull/15329
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org