brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjcorbett <>
Subject [GitHub] incubator-brooklyn pull request: Add quorum check enricher and agg...
Date Tue, 24 Nov 2015 17:13:51 GMT
Github user sjcorbett commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/brooklyn/enricher/stock/ ---
    @@ -891,6 +892,39 @@ protected static int count(Iterable<? extends Object> vals,
boolean includeNullV
             return result;
    +    @Beta
    +    public static class ComputingIsQuorate<T extends Object> implements Function<Collection<T>,
T> {
    --- End diff --
    I can't escape the generics either. However, I can cast `ComputingIsQuorate` to `(Function<?
super Collection<?>, ?>)` in Aggregator! Personally I prefer keeping ComputingIsQuorate
simple and the ugliness in `lookupTransformation`.

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 or file a JIRA ticket
with INFRA.

View raw message