diff options
author | John Ross | 2012-09-12 14:30:42 +0000 |
---|---|---|
committer | Thomas Watson | 2012-09-12 20:50:30 +0000 |
commit | ebc4baf50a61a31204ec3fa8c3ab0f6eb4057b57 (patch) | |
tree | a14fde374d57f22d0901ec4afd7d20a0de3dc7ed | |
parent | 2d5349b00ba24c3011a69ad85e61daebd23691cb (diff) | |
download | rt.equinox.framework-ebc4baf50a61a31204ec3fa8c3ab0f6eb4057b57.tar.gz rt.equinox.framework-ebc4baf50a61a31204ec3fa8c3ab0f6eb4057b57.tar.xz rt.equinox.framework-ebc4baf50a61a31204ec3fa8c3ab0f6eb4057b57.zip |
Documented the 'disabled' instance variable.
-rw-r--r-- | bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java index 599bd58f7..b78931680 100644 --- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java +++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java @@ -452,6 +452,16 @@ final class ModuleResolver { class ResolveProcess extends ResolveContext implements Comparator<Capability> { private final ModuleResolutionReport.Builder reportBuilder = new ModuleResolutionReport.Builder(); private final Collection<ModuleRevision> unresolved; + /* + * Contains unresolved revisions that should not be resolved as part of + * this process. The reasons they should not be resolved will vary. For + * example, some might have been filtered out by the resolver hook while + * others represent singleton collisions. It is assumed that all + * unresolved revisions are disabled at the start of the resolve + * process (see initialization in constructors). Any not filtered out + * by ResolverHook.filterResolvable are then removed but may be added + * back later for other reasons. + */ private final Collection<ModuleRevision> disabled; private final Collection<ModuleRevision> triggers; private final Collection<ModuleRevision> optionals; |