sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [sling-org-apache-sling-feature] 08/22: Change from start level to start order
Date Fri, 27 Apr 2018 09:51:28 GMT
This is an automated email from the ASF dual-hosted git repository.

davidb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature.git

commit a6468fc42e65ec5fd9d3773470f5dcbecac69c57
Author: Carsten Ziegeler <cziegeler@apache.org>
AuthorDate: Thu Feb 1 14:25:30 2018 +0100

    Change from start level to start order
---
 src/main/java/org/apache/sling/feature/Bundles.java | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/main/java/org/apache/sling/feature/Bundles.java b/src/main/java/org/apache/sling/feature/Bundles.java
index 12b5b52..7bf3f92 100644
--- a/src/main/java/org/apache/sling/feature/Bundles.java
+++ b/src/main/java/org/apache/sling/feature/Bundles.java
@@ -166,6 +166,14 @@ public class Bundles implements Iterable<Artifact> {
         return Collections.unmodifiableList(this.bundles).iterator();
     }
 
+    /**
+     * Check whether this container has bundles
+     * @return {@code true} if there are no bundles.
+     */
+    public boolean isEmpty() {
+        return this.bundles.isEmpty();
+    }
+
     @Override
     public String toString() {
         return "Bundles " + this.bundles;

-- 
To stop receiving notification emails like this one, please contact
davidb@apache.org.

Mime
View raw message