Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Unified Diff: samples/actors/samples/sssp/sssp-util.dart

Issue 9487005: Move back to having File.open{Input,Output}Stream return the stream directly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/file_impl.dart ('k') | tests/standalone/src/FileInputStreamTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/actors/samples/sssp/sssp-util.dart
diff --git a/samples/actors/samples/sssp/sssp-util.dart b/samples/actors/samples/sssp/sssp-util.dart
index 4f6dcab1b6e96bab068ce67dc502090ed6d33147..2f435284a09bacc8eaacea64c7babde7343dd44c 100644
--- a/samples/actors/samples/sssp/sssp-util.dart
+++ b/samples/actors/samples/sssp/sssp-util.dart
@@ -8,7 +8,7 @@
Graph readGraph(String fileName) {
File f = new File(fileName);
- StringInputStream sis = new StringInputStream(f.openInputStreamSync());
+ StringInputStream sis = new StringInputStream(f.openInputStream());
String l = sis.readLine();
List<Vertex> vertices;
List<Edge> edges = <Edge>[];
« no previous file with comments | « runtime/bin/file_impl.dart ('k') | tests/standalone/src/FileInputStreamTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698