Index: compiler/javatests/com/google/dart/compiler/parser/StringBuffer.dart |
diff --git a/compiler/javatests/com/google/dart/compiler/parser/StringBuffer.dart b/compiler/javatests/com/google/dart/compiler/parser/StringBuffer.dart |
index 79faa29eed7e970843f2b64074f7380c50176166..8d247eb5ac56d1556bac48114367c7bc0874b0a5 100644 |
--- a/compiler/javatests/com/google/dart/compiler/parser/StringBuffer.dart |
+++ b/compiler/javatests/com/google/dart/compiler/parser/StringBuffer.dart |
@@ -49,7 +49,7 @@ class StringBuffer implements OutputStream { |
* Appends [str] to the buffer. |
*/ |
void append(String str) { |
- if (str === null || str.isEmpty()) return; |
+ if (str === null || str.isEmpty) return; |
buffer_.add(str); |
length_ += str.length; |
} |