From 219e381defc0a475b3243e19e139378b6cc15bd8 Mon Sep 17 00:00:00 2001 From: Eric Scharff Date: Wed, 26 Sep 2007 10:32:02 -0600 Subject: [PATCH] Added Long.valueOf(String) --- classpath/java/lang/Long.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classpath/java/lang/Long.java b/classpath/java/lang/Long.java index 06c1d7506e..401d31492f 100644 --- a/classpath/java/lang/Long.java +++ b/classpath/java/lang/Long.java @@ -14,6 +14,10 @@ public final class Long extends Number { this.value = parseLong(s); } + public static Long valueOf(String value) { + return new Long(value); + } + public static Long valueOf(long value) { return new Long(value); }