From 1b61b60d0e087be4c775b1171e919263218e7686 Mon Sep 17 00:00:00 2001 From: mihaylov Date: Tue, 28 Jun 2005 16:10:26 +0000 Subject: Removed obsolete methods --- sources/scalac/util/Debug.java | 97 ------------------------------------------ 1 file changed, 97 deletions(-) (limited to 'sources/scalac') diff --git a/sources/scalac/util/Debug.java b/sources/scalac/util/Debug.java index f6b776a112..16d3bfed9a 100644 --- a/sources/scalac/util/Debug.java +++ b/sources/scalac/util/Debug.java @@ -71,103 +71,6 @@ public class Debug extends scala.tools.util.debug.Debug { return Global.instance.log(showAll(args, null)); } - //######################################################################## - // Public Methods - Bootstrapping - - // !!! all the following methods are only needed for bootstraping - // !!! remove them after next release (current is 1.2.0.0) - - public static Error abort() { - return scala.tools.util.debug.Debug.abort(); - } - public static Error abort(Throwable cause) { - return scala.tools.util.debug.Debug.abort(cause); - } - public static Error abort(Object object) { - return scala.tools.util.debug.Debug.abort(object); - } - public static Error abort(Object object, Throwable cause) { - return scala.tools.util.debug.Debug.abort(object, cause); - } - public static Error abort(String message) { - return scala.tools.util.debug.Debug.abort(message); - } - public static Error abort(String message, Throwable cause) { - return scala.tools.util.debug.Debug.abort(message, cause); - } - public static Error abort(String message, Object object) { - return scala.tools.util.debug.Debug.abort(message, object); - } - public static Error abort(String message, Object object, Throwable cause) { - return scala.tools.util.debug.Debug.abort(message, object, cause); - } - - public static Error abortIllegalCase(int value) { - return scala.tools.util.debug.Debug.abortIllegalCase(value); - } - public static Error abortIllegalCase(Object object) { - return scala.tools.util.debug.Debug.abortIllegalCase(object); - } - - public static String show(Object a) { - return scala.tools.util.debug.Debug.show(a); - } - public static String show(Object a, Object b) { - return scala.tools.util.debug.Debug.show(a, b); - } - public static String show(Object a, Object b, Object c) { - return scala.tools.util.debug.Debug.show(a, b, c); - } - public static String show(Object a, Object b, Object c, Object d) { - return scala.tools.util.debug.Debug.show(a, b, c, d); - } - public static String show(Object a, Object b, Object c, Object d, Object e) - { - return scala.tools.util.debug.Debug.show(a, b, c, d, e); - } - public static String show(Object a, Object b, Object c, Object d, Object e, - Object f) - { - return scala.tools.util.debug.Debug.show(a, b, c, d, e, f); - } - public static String show(Object a, Object b, Object c, Object d, Object e, - Object f, Object g) - { - return scala.tools.util.debug.Debug.show(a, b, c, d, e, f, g); - } - public static String show(Object a, Object b, Object c, Object d, Object e, - Object f, Object g, Object h) - { - return scala.tools.util.debug.Debug.show(a, b, c, d, e, f, g, h); - } - public static String show(Object a, Object b, Object c, Object d, Object e, - Object f, Object g, Object h, Object i) - { - return scala.tools.util.debug.Debug.show(a, b, c, d, e, f, g, h, i); - } - public static String show(Object a, Object b, Object c, Object d, Object e, - Object f, Object g, Object h, Object i, Object j) - { - return scala.tools.util.debug.Debug.show(a, b, c, d, e, f, g, h, i, j); - } - public static String show(Object a, Object b, Object c, Object d, Object e, - Object f, Object g, Object h, Object i, Object j, Object k) - { - return scala.tools.util.debug.Debug.show(a, b, c, d, e, f, g, h, i, j, k); - } - public static String show(Object a, Object b, Object c, Object d, Object e, - Object f, Object g, Object h, Object i, Object j, Object k, Object l) - { - return scala.tools.util.debug.Debug.show(a, b, c, d, e, f, g, h, i, j, k, l); - } - - public static String showAll(Object[] objects) { - return scala.tools.util.debug.Debug.showAll(objects); - } - public static String showAll(Object[] objects, String separator) { - return scala.tools.util.debug.Debug.showAll(objects, separator); - } - //######################################################################## } -- cgit v1.2.3