Github user aledsage commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/1130#discussion_r49080187
--- Diff:
brooklyn-server/core/src/main/java/org/apache/brooklyn/core/catalog/internal/BasicBrooklynCatalog.java
---
@@ -391,18 +396,61 @@ else for (String key: otherKeys) {
}
@SuppressWarnings("unchecked")
- private void collectCatalogItems(String sourceYaml, Map<?,?>
itemMetadata, List<CatalogItemDtoAbstract<?, ?>> result, Map<?,?>
parentMetadata) {
+ private void collectCatalogItems(String sourceYaml, Map<String,Object>
itemMetadata, List<CatalogItemDtoAbstract<?, ?>> result, Map<String,?>
parentMetadata) {
--- End diff --
I'm not clear why we need `Map<String, Object>` for itemMetadata. Are we
directly modify that map in this method? If so, why?
---
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.
---