Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2012-08-29 11:25:42 +0400
committerjfrijters <jfrijters>2012-08-29 11:25:42 +0400
commitf70ca066b6a68c87b014039518e4d7a7459ee3da (patch)
treeae22886826fa7855660cbff431211bfce63e3a85 /openjdk/java
parent2f73fd3e14bf646c49a8e7f73beb20c72023c906 (diff)
Optimized String.valueOf(char).
Diffstat (limited to 'openjdk/java')
-rw-r--r--openjdk/java/lang/StringHelper.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/openjdk/java/lang/StringHelper.java b/openjdk/java/lang/StringHelper.java
index 0309803d..61168d9f 100644
--- a/openjdk/java/lang/StringHelper.java
+++ b/openjdk/java/lang/StringHelper.java
@@ -2487,19 +2487,6 @@ final class StringHelper
}
/**
- * Returns the string representation of the <code>char</code>
- * argument.
- *
- * @param c a <code>char</code>.
- * @return a string of length <code>1</code> containing
- * as its single character the argument <code>c</code>.
- */
- public static String valueOf(char c) {
- char data[] = {c};
- return new String(0, 1, data);
- }
-
- /**
* Returns the string representation of the <code>int</code> argument.
* <p>
* The representation is exactly the one returned by the