You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by da...@apache.org on 2018/04/27 09:51:28 UTC
[sling-org-apache-sling-feature] 08/22: Change from start level to
start order
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 <cz...@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.