aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2011-11-01 07:43:57 (EDT)
committerGlyn Normington2011-11-01 07:43:57 (EDT)
commite55c1098dedb4aef91a8ca916c4b5f6134c88de4 (patch)
tree8d32114605afdac25b4eb1d4aebd5d9740b5c564
parent5e57dc637c67e29ca6e298221c3b53fc52a9fd47 (diff)
downloadrt.equinox.bundles-e55c1098dedb4aef91a8ca916c4b5f6134c88de4.zip
rt.equinox.bundles-e55c1098dedb4aef91a8ca916c4b5f6134c88de4.tar.gz
rt.equinox.bundles-e55c1098dedb4aef91a8ca916c4b5f6134c88de4.tar.bz2
Tidy up warnings
-rw-r--r--bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraph.java2
-rw-r--r--bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHook.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraph.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraph.java
index 90b515d..06b7fc9 100644
--- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraph.java
+++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraph.java
@@ -471,7 +471,7 @@ public final class StandardRegionDigraph implements RegionDigraph {
if (this.regions.contains(defaultRegion) || defaultRegion == null) {
this.defaultRegion = defaultRegion;
} else {
- throw new IllegalArgumentException("Can't set " + defaultRegion.toString() + " as default region. It isn't contained in this digraph.");
+ throw new IllegalArgumentException("Can't set " + defaultRegion.toString() + " as default region. It isn't contained in this digraph."); //$NON-NLS-1$//$NON-NLS-2$
}
}
diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHook.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHook.java
index 5435aa1..3cbabf0 100644
--- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHook.java
+++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHook.java
@@ -128,7 +128,7 @@ final class RegionResolverHook implements ResolverHook {
}
private void debugEntry(BundleRevision requirer, Collection<BundleCapability> candidates, boolean singleton) {
- System.out.println((singleton ? "Singleton" : "Requirer: ") + requirer.getSymbolicName() + "_" + requirer.getVersion() + "[" + getBundleId(requirer) + "]"); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ System.out.println((singleton ? "Singleton" : "Requirer: ") + requirer.getSymbolicName() + "_" + requirer.getVersion() + "[" + getBundleId(requirer) + "]"); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
System.out.println(" Candidates: "); //$NON-NLS-1$
Iterator<BundleCapability> i = candidates.iterator();
while (i.hasNext()) {