Index: pkg/analyzer/example/scanner_driver.dart |
diff --git a/pkg/analyzer/example/scanner_driver.dart b/pkg/analyzer/example/scanner_driver.dart |
index a19c6ebaabb25b95e1c3b45c87a19e2aaf9080fc..8eccee99644e8c2eb27dc9f2f6c38927ec65f15d 100644 |
--- a/pkg/analyzer/example/scanner_driver.dart |
+++ b/pkg/analyzer/example/scanner_driver.dart |
@@ -7,7 +7,6 @@ |
import 'dart:io'; |
import 'package:analyzer/src/generated/scanner.dart'; |
-import 'package:analyzer/src/generated/java_core.dart' show CharSequence; |
main(List<String> args) { |
@@ -26,7 +25,7 @@ main(List<String> args) { |
_scan(File file) { |
var src = file.readAsStringSync(); |
- var reader = new CharSequenceReader(new CharSequence(src)); |
+ var reader = new CharSequenceReader(src); |
var scanner = new Scanner(null, reader, null); |
var token = scanner.tokenize(); |
while (token.type != TokenType.EOF) { |