}
Resolver resolver = new ResolverImpl(m_log);
try {
Map<BundleRevision, List<ResolverWire>> result = resolver.resolve(
state,
(mandatory == null) ? new HashSet<BundleRevision>() : mandatory,
(optional == null) ? new HashSet<BundleRevision>() : optional,
(ondemandFragments == null) ? new HashSet<BundleRevision>() : ondemandFragments);