From 164c1ac40cf9a81cd6f9ea72b1c64dbc01dea73b Mon Sep 17 00:00:00 2001 From: ray Date: Wed, 14 Jun 2006 01:20:48 +0000 Subject: [PATCH] Let's remove the deprecated methods so that we don't run into trouble if retroweaver replaces StringBuilder with StringBuffer (resulting in duplicate methods). git-svn-id: https://samskivert.googlecode.com/svn/trunk@1859 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/StringUtil.java | 43 -------------------- 1 file changed, 43 deletions(-) diff --git a/src/java/com/samskivert/util/StringUtil.java b/src/java/com/samskivert/util/StringUtil.java index 814cf4f9..66f88962 100644 --- a/src/java/com/samskivert/util/StringUtil.java +++ b/src/java/com/samskivert/util/StringUtil.java @@ -415,10 +415,6 @@ public class StringUtil { toString(buf, val, "(", ")"); } - @Deprecated public static void toString (StringBuffer buf, Object val) - { - toString(buf, val, "(", ")"); - } /** * Converts the supplied value to a string and appends it to the @@ -437,11 +433,6 @@ public class StringUtil { toString(buf, val, openBox, closeBox, ", "); } - @Deprecated public static void toString ( - StringBuffer buf, Object val, String openBox, String closeBox) - { - toString(buf, val, openBox, closeBox, ", "); - } /** * Converts the supplied value to a string and appends it to the @@ -595,14 +586,6 @@ public class StringUtil buf.append(val); } } - @Deprecated public static void toString ( - StringBuffer buf, Object val, String openBox, String closeBox, - String sep) - { - StringBuilder sb = new StringBuilder(); - toString(sb, val, openBox, closeBox, sep); - buf.append(sb); - } /** * Used to format objects in {@link @@ -704,13 +687,6 @@ public class StringUtil toString(buf, val); } } - @Deprecated public static void listToString ( - StringBuffer buf, Object val, Formatter formatter) - { - StringBuilder sb = new StringBuilder(); - listToString(sb, val, formatter); - buf.append(sb); - } /** * Generates a string representation of the supplied object by calling @@ -750,11 +726,6 @@ public class StringUtil { fieldsToString(buf, object, ", "); } - @Deprecated public static void fieldsToString ( - StringBuffer buf, Object object) - { - fieldsToString(buf, object, ", "); - } /** * Like {@link #fieldsToString(StringBuilder,Object)} except that the @@ -795,13 +766,6 @@ public class StringUtil written++; } } - @Deprecated public static void fieldsToString ( - StringBuffer buf, Object object, String sep) - { - StringBuilder sb = new StringBuilder(); - fieldsToString(sb, object, sep); - buf.append(sb); - } /** * Formats a pair of coordinates such that positive values are @@ -833,13 +797,6 @@ public class StringUtil } buf.append(y); } - @Deprecated public static void coordsToString ( - StringBuffer buf, int x, int y) - { - StringBuilder sb = new StringBuilder(); - coordsToString(sb, x, y); - buf.append(sb); - } /** * Attempts to generate a string representation of the object using