Github user aledsage commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/850#discussion_r37959566
--- Diff:
core/src/main/java/org/apache/brooklyn/core/catalog/CatalogPredicates.java ---
@@ -39,21 +39,65 @@
public class CatalogPredicates {
public static <T,SpecT> Predicate<CatalogItem<T,SpecT>>
isCatalogItemType(final CatalogItemType ciType) {
- return new Predicate<CatalogItem<T,SpecT>>() {
+ // TODO PERSISTENCE WORKAROUND kept anonymous function in case
referenced in persisted state
--- End diff --
Are you saying to add this to the `private static class` that I added,
which this now uses? Not sure how `@since 0.8.0` relates to this given line?
---
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.
---