brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbouron <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #857: Deprecate `@Catalog` annotation
Date Mon, 09 Oct 2017 10:09:33 GMT
Github user tbouron commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/857#discussion_r143427971
  
    --- Diff: core/src/main/java/org/apache/brooklyn/core/catalog/internal/BasicBrooklynCatalog.java
---
    @@ -671,6 +671,8 @@ private void collectCatalogItemsFromItemMetadataBlock(String sourceYaml,
Managed
             if (scanJavaAnnotations==null || !scanJavaAnnotations) {
                 // don't scan
             } else {
    +            log.warn("Deprecated use of scanJavaAnnotations" + (containingBundle != null
? " in bundle " + containingBundle.getVersionedName() : ""));
    --- End diff --
    
    Shouldn't we say `Use catalog.bom instead` here?


---

Mime
View raw message