Github user Graeme-Miller commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/1070#discussion_r46126980
--- Diff:
utils/common/src/main/java/org/apache/brooklyn/util/collections/CollectionFunctionals.java
---
@@ -107,12 +107,12 @@ public Integer apply(Iterable<?> input) {
}
public static final class FirstElementFunction<T> implements
Function<Iterable<? extends T>, T> {
- private FirstElementFunction() {
+ public FirstElementFunction() {
--- End diff --
yup, it is needed to use it from YAML.
---
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.
---