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
This commit is contained in:
ray
2006-06-14 01:20:48 +00:00
parent 20e50e1635
commit 164c1ac40c
@@ -415,10 +415,6 @@ public class StringUtil
{ {
toString(buf, val, "(", ")"); 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 * Converts the supplied value to a string and appends it to the
@@ -437,11 +433,6 @@ public class StringUtil
{ {
toString(buf, val, openBox, closeBox, ", "); 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 * Converts the supplied value to a string and appends it to the
@@ -595,14 +586,6 @@ public class StringUtil
buf.append(val); 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 * Used to format objects in {@link
@@ -704,13 +687,6 @@ public class StringUtil
toString(buf, val); 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 * Generates a string representation of the supplied object by calling
@@ -750,11 +726,6 @@ public class StringUtil
{ {
fieldsToString(buf, object, ", "); fieldsToString(buf, object, ", ");
} }
@Deprecated public static void fieldsToString (
StringBuffer buf, Object object)
{
fieldsToString(buf, object, ", ");
}
/** /**
* Like {@link #fieldsToString(StringBuilder,Object)} except that the * Like {@link #fieldsToString(StringBuilder,Object)} except that the
@@ -795,13 +766,6 @@ public class StringUtil
written++; 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 * Formats a pair of coordinates such that positive values are
@@ -833,13 +797,6 @@ public class StringUtil
} }
buf.append(y); 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 * Attempts to generate a string representation of the object using