GitHub user dguy opened a pull request:
https://github.com/apache/kafka/pull/1587
MINOR: fix generics in Windows.segments and Windows.until
`Windows.segments(...)` and `Windows.until(...)` currently aren't returning
the `Window` with its type param `W`. This causes the generic type to be lost
and therefore methods using this can't infer the correct return types.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dguy/kafka windows-generics
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1587.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1587
----
commit 6ad0ed136bea54a48e3eabef2f4b3f33c73a9413
Author: Damian Guy <[email protected]>
Date: 2016-07-05T10:09:32Z
Add type variable to methods on Windows that return Windows
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---