Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/312#discussion_r20287927
--- Diff:
core/src/main/java/brooklyn/catalog/internal/CatalogItemDtoAbstract.java ---
@@ -104,18 +107,35 @@ public String getIconUrl() {
}
@Override
- public String getVersion() {
- return version;
+ public String getSymbolicName() {
+ if (symbolicName != null) return symbolicName;
+ if (registeredTypeName != null) return registeredTypeName;
+ return getJavaType();
}
- @Nonnull
@Override
- public CatalogItemLibraries getLibraries() {
- return getLibrariesDto();
+ public String getVersion() {
+ //xstream doesn't call constructors
--- End diff --
makes sense -- worth an extra few words in the comment in case someone
tries to clean it up i think
---
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.
---