Github user nakomis commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1039#discussion_r45347016
  
    --- Diff: 
api/src/main/java/org/apache/brooklyn/api/catalog/CatalogItem.java ---
    @@ -103,6 +103,11 @@ public static CatalogItemType ofTargetClass(Class<? 
extends BrooklynObject> type
         @Deprecated
         @Nullable public String getJavaType();
     
    +    /**
    +     * @return The underlying java type of the item represented or the 
catalog item ID, described via a YAML spec.
    +     */
    +    @Nullable public String getReferenceType();
    --- End diff --
    
    The difference is that it may refer either to a java type, or to a catalog 
item, so getJavaType is the wrong name for it, so it makes sense to deprecate 
getJavaType and replace it with getReferenceType (this also addresses the other 
comment below)


---
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.
---

Reply via email to