| Index: sdk/lib/core/string_buffer.dart
|
| diff --git a/sdk/lib/core/string_buffer.dart b/sdk/lib/core/string_buffer.dart
|
| index 8ea4bf1f5c8bacdf5f87d13476ca00702c60cee4..59d1aa909f0ff94aa2638d963158e06f9b33091e 100644
|
| --- a/sdk/lib/core/string_buffer.dart
|
| +++ b/sdk/lib/core/string_buffer.dart
|
| @@ -23,6 +23,12 @@ class StringBuffer implements StringSink {
|
| /** Returns whether the buffer is empty. This is a constant-time operation. */
|
| bool get isEmpty => length == 0;
|
|
|
| + /**
|
| + * Returns whether the buffer is not empty. This is a constant-time
|
| + * operation.
|
| + */
|
| + bool get isNotEmpty => !isEmpty;
|
| +
|
| /// Adds the contents of [obj], converted to a string, to the buffer.
|
| external void write(Object obj);
|
|
|
|
|