| OLD | NEW |
| 1 library java.engine; | 1 library java.engine; |
| 2 | 2 |
| 3 import 'interner.dart'; |
| 3 import 'java_core.dart'; | 4 import 'java_core.dart'; |
| 4 | 5 |
| 5 /** | 6 /** |
| 6 * A predicate is a one-argument function that returns a boolean value. | 7 * A predicate is a one-argument function that returns a boolean value. |
| 7 */ | 8 */ |
| 8 typedef bool Predicate<E>(E argument); | 9 typedef bool Predicate<E>(E argument); |
| 9 | 10 |
| 10 class StringUtilities { | 11 class StringUtilities { |
| 11 static const String EMPTY = ''; | 12 static const String EMPTY = ''; |
| 12 static const List<String> EMPTY_ARRAY = const <String>[]; | 13 static const List<String> EMPTY_ARRAY = const <String>[]; |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 if (cause != null) { | 325 if (cause != null) { |
| 325 buffer.write('Caused by '); | 326 buffer.write('Caused by '); |
| 326 cause._writeOn(buffer); | 327 cause._writeOn(buffer); |
| 327 } | 328 } |
| 328 } else { | 329 } else { |
| 329 buffer.writeln(exception.toString()); | 330 buffer.writeln(exception.toString()); |
| 330 buffer.writeln(stackTrace.toString()); | 331 buffer.writeln(stackTrace.toString()); |
| 331 } | 332 } |
| 332 } | 333 } |
| 333 } | 334 } |
| OLD | NEW |