brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Versioning catalog items (take 2)
Date Tue, 11 Nov 2014 02:23:17 GMT
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/312#discussion_r20128651
  
    --- Diff: core/src/main/java/brooklyn/catalog/internal/CatalogItemComparator.java ---
    @@ -0,0 +1,33 @@
    +package brooklyn.catalog.internal;
    +
    +import java.util.Comparator;
    +
    +import brooklyn.catalog.CatalogItem;
    +import brooklyn.util.text.NaturalOrderComparator;
    +
    +public class CatalogItemComparator implements Comparator<CatalogItem<?, ?>>
{
    +    private static final String SNAPSHOT = "SNAPSHOT";
    +    private static final Comparator<String> COMPARATOR = new NaturalOrderComparator();
    --- End diff --
    
    `NaturalOrderComparator.INSTANCE`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message