changeset 1894:56fa6eb18ad3

Remove gratuitous usage of String.format
author mcimadamore
date Tue, 05 Mar 2013 16:22:55 +0000
parents d6ad002c14cb
children d7dffad20dfe
files src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java	Tue Mar 05 13:26:45 2013 +0000
+++ b/src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java	Tue Mar 05 16:22:55 2013 +0000
@@ -1288,7 +1288,7 @@
             buf.append(owner.name);
             buf.append('$');
             int methTypeHash = methodSig(owner.type).hashCode();
-            buf.append(String.format("%x", methTypeHash));
+            buf.append(Integer.toHexString(methTypeHash));
             buf.append('$');
             String temp = buf.toString();
             Integer count = serializableLambdaCounts.get(temp);