Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2019-04-09 13:22:38 -0400
committerThomas Watson2019-04-12 09:58:21 -0400
commite98581771affe7d6ae47902670bacc572b0a9e75 (patch)
tree736ad46b4af823523c19bfca9ca2166bf8515cef
parent91506d67f40c38baa1897b8f0cc174146f85361e (diff)
downloadrt.equinox.framework-e98581771affe7d6ae47902670bacc572b0a9e75.tar.gz
rt.equinox.framework-e98581771affe7d6ae47902670bacc572b0a9e75.tar.xz
rt.equinox.framework-e98581771affe7d6ae47902670bacc572b0a9e75.zip
Avoid unnecessary String concating in debug message
Change-Id: Ic0fb2dda744206d40e96ab7ba5ecea1ad9e5b237 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/BundleContextImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/BundleContextImpl.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/BundleContextImpl.java
index 32e6f85f0..06781879e 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/BundleContextImpl.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/BundleContextImpl.java
@@ -751,7 +751,7 @@ public class BundleContextImpl implements BundleContext, EventDispatcher<Object,
}
activator = loadBundleActivator();
if (debug.DEBUG_BUNDLE_TIME) {
- Debug.println((System.currentTimeMillis() - start) + "ms" + " to load the activator of " + bundle); //$NON-NLS-1$ //$NON-NLS-2$
+ Debug.println((System.currentTimeMillis() - start) + "ms to load the activator of " + bundle); //$NON-NLS-1$
}
} catch (Exception e) {
if (e instanceof RuntimeException) {
@@ -768,7 +768,7 @@ public class BundleContextImpl implements BundleContext, EventDispatcher<Object,
throw be;
} finally {
if (debug.DEBUG_BUNDLE_TIME) {
- Debug.println((System.currentTimeMillis() - start) + "ms" + " to load and start the activator of " + bundle); //$NON-NLS-1$ //$NON-NLS-2$
+ Debug.println((System.currentTimeMillis() - start) + "ms to load and start the activator of " + bundle); //$NON-NLS-1$
}
}
}

Back to the top