karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject [2/2] karaf git commit: Document meaning of maps
Date Wed, 09 Aug 2017 09:23:05 GMT
Document meaning of maps


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/b65801b6
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/b65801b6
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/b65801b6

Branch: refs/heads/master
Commit: b65801b63d31ad4e0dc545a2db370b3b34c0a53b
Parents: d99dc07
Author: Christian Schneider <chris@die-schneider.net>
Authored: Wed Aug 9 11:22:58 2017 +0200
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Wed Aug 9 11:22:58 2017 +0200

----------------------------------------------------------------------
 .../java/org/apache/karaf/features/internal/service/State.java    | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/b65801b6/features/core/src/main/java/org/apache/karaf/features/internal/service/State.java
----------------------------------------------------------------------
diff --git a/features/core/src/main/java/org/apache/karaf/features/internal/service/State.java
b/features/core/src/main/java/org/apache/karaf/features/internal/service/State.java
index 701d522..f8f477c 100644
--- a/features/core/src/main/java/org/apache/karaf/features/internal/service/State.java
+++ b/features/core/src/main/java/org/apache/karaf/features/internal/service/State.java
@@ -28,7 +28,10 @@ public class State {
 
     public final AtomicBoolean bootDone = new AtomicBoolean();
     public final Set<String> repositories = new TreeSet<>();
+    
+    // Map from region name to Set of feature requirements (name/version range)
     public final Map<String, Set<String>> requirements = new HashMap<>();
+    // Map from region name to Set of feature id (name/version)
     public final Map<String, Set<String>> installedFeatures = new HashMap<>();
     
     // State of features by region and feature id (name/version)


Mime
View raw message