summaryrefslogtreecommitdiff
path: root/test/files/pos/t5644/BoxesRunTime.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t5644/BoxesRunTime.java')
-rw-r--r--test/files/pos/t5644/BoxesRunTime.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/files/pos/t5644/BoxesRunTime.java b/test/files/pos/t5644/BoxesRunTime.java
index 74c4c6b4b9..2b931519aa 100644
--- a/test/files/pos/t5644/BoxesRunTime.java
+++ b/test/files/pos/t5644/BoxesRunTime.java
@@ -267,10 +267,6 @@ public final class BoxesRunTime
else if (n instanceof java.lang.Float) return hashFromFloat((java.lang.Float)n);
else return n.hashCode();
}
- public static int hashFromObject(Object a) {
- if (a instanceof Number) return hashFromNumber((Number)a);
- else return a.hashCode();
- }
private static int unboxCharOrInt(Object arg1, int code) {
if (code == CHAR)