Bug 492957 - Primitive boxed just to call toString in
org.eclipse.core.runtime.Plugin.toString()
Change-Id: I47fd6421cf05eea317184f49b1fba3f3c3173528
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Plugin.java b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Plugin.java
index cbdd695..fa6d261 100644
--- a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Plugin.java
+++ b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Plugin.java
@@ -624,7 +624,7 @@
if (myBundle == null)
return ""; //$NON-NLS-1$
String name = myBundle.getSymbolicName();
- return name == null ? new Long(myBundle.getBundleId()).toString() : name;
+ return name == null ? Long.toString(myBundle.getBundleId()) : name;
}
/**