Index: sdk/lib/core/string_buffer.dart |
diff --git a/sdk/lib/core/string_buffer.dart b/sdk/lib/core/string_buffer.dart |
index 07d3277066e8832c6077c805a8ed37aee8ebe77d..3b0d5b47adc856d77549387dd8dca4df9167aad4 100644 |
--- a/sdk/lib/core/string_buffer.dart |
+++ b/sdk/lib/core/string_buffer.dart |
@@ -23,14 +23,6 @@ class StringBuffer implements StringSink { |
/** Returns whether the buffer is empty. This is a constant-time operation. */ |
bool get isEmpty => length == 0; |
- /** |
- * Converts [obj] to a string and adds it to the buffer. |
- * |
- * *Deprecated*. Use [write] instead. |
- */ |
- @deprecated |
- void add(Object obj) => write(obj); |
- |
external void write(Object obj); |
void writeAll(Iterable objects) { |
@@ -42,32 +34,12 @@ class StringBuffer implements StringSink { |
write("\n"); |
} |
- /** |
- * Adds the string representation of [charCode] to the buffer. |
- * |
- * *Deprecated* Use [writeCharCode] instead. |
- */ |
- @deprecated |
- void addCharCode(int charCode) { |
- writeCharCode(charCode); |
- } |
- |
/// Adds the string representation of [charCode] to the buffer. |
void writeCharCode(int charCode) { |
write(new String.fromCharCode(charCode)); |
} |
/** |
- * Adds all items in [objects] to the buffer. |
- * |
- * *Deprecated*. Use [writeAll] instead. |
- */ |
- @deprecated |
- void addAll(Iterable objects) { |
- for (Object obj in objects) write(obj); |
- } |
- |
- /** |
* Clears the string buffer. |
* |
* *Deprecated*. |