Minor code format cleanup.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@949192 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/FelixResolverState.java b/framework/src/main/java/org/apache/felix/framework/FelixResolverState.java
index 500a66b..84dc54f 100644
--- a/framework/src/main/java/org/apache/felix/framework/FelixResolverState.java
+++ b/framework/src/main/java/org/apache/felix/framework/FelixResolverState.java
@@ -69,15 +69,15 @@
List<String> indices = new ArrayList<String>();
indices.add(Constants.BUNDLE_SYMBOLICNAME_ATTRIBUTE);
- m_capSets.put( Capability.MODULE_NAMESPACE, new CapabilitySet(indices) );
+ m_capSets.put(Capability.MODULE_NAMESPACE, new CapabilitySet(indices));
indices = new ArrayList<String>();
indices.add(Capability.PACKAGE_ATTR);
- m_capSets.put( Capability.PACKAGE_NAMESPACE, new CapabilitySet(indices) );
+ m_capSets.put(Capability.PACKAGE_NAMESPACE, new CapabilitySet(indices));
indices = new ArrayList<String>();
indices.add(Constants.BUNDLE_SYMBOLICNAME_ATTRIBUTE);
- m_capSets.put( Capability.HOST_NAMESPACE, new CapabilitySet(indices) );
+ m_capSets.put(Capability.HOST_NAMESPACE, new CapabilitySet(indices));
}
public synchronized void addModule(Module module)
@@ -377,7 +377,7 @@
{
for (Capability cap : caps)
{
- CapabilitySet capSet = m_capSets.get( cap.getNamespace() );
+ CapabilitySet capSet = m_capSets.get(cap.getNamespace());
if (capSet == null)
{
capSet = new CapabilitySet(null);
@@ -394,7 +394,7 @@
{
for (Capability cap : caps)
{
- CapabilitySet capSet = m_capSets.get( cap.getNamespace() );
+ CapabilitySet capSet = m_capSets.get(cap.getNamespace());
if (capSet != null)
{
capSet.removeCapability(cap);
@@ -429,7 +429,8 @@
}
}
- Set<Capability> hostCaps = m_capSets.get(Capability.HOST_NAMESPACE).match(hostReq.getFilter(), true);
+ Set<Capability> hostCaps =
+ m_capSets.get(Capability.HOST_NAMESPACE).match(hostReq.getFilter(), true);
for (Iterator<Capability> it = hostCaps.iterator(); it.hasNext(); )
{
@@ -555,7 +556,8 @@
SecurityManager sm = System.getSecurityManager();
if (sm != null)
{
- if (!((BundleProtectionDomain) host.getSecurityContext()).impliesDirect(new BundlePermission(host.getSymbolicName(), BundlePermission.HOST)))
+ if (!((BundleProtectionDomain) host.getSecurityContext()).impliesDirect(
+ new BundlePermission(host.getSymbolicName(), BundlePermission.HOST)))
{
return fragmentList;
}