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

Unified Diff: runtime/bin/file_impl.dart

Issue 10872033: Change getters syntax in dart:io library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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.dart ('k') | runtime/bin/http.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_impl.dart
diff --git a/runtime/bin/file_impl.dart b/runtime/bin/file_impl.dart
index 69add2dbbafc0d9dbf325fa0dde1839668100580..1e7d962950af7711945df815053052a47ba90b52 100644
--- a/runtime/bin/file_impl.dart
+++ b/runtime/bin/file_impl.dart
@@ -280,7 +280,7 @@ class _FileOutputStream extends _BaseOutputStream implements OutputStream {
});
}
- bool get closed() => _streamMarkedClosed;
+ bool get closed => _streamMarkedClosed;
RandomAccessFile _file;
@@ -763,7 +763,7 @@ class _File extends _FileBase implements File {
return _getDecodedLines(decoder);
}
- String get name() => _name;
+ String get name => _name;
void _ensureFileService() {
if (_fileService == null) {
@@ -1139,7 +1139,7 @@ class _RandomAccessFile extends _FileBase implements RandomAccessFile {
}
}
- String get name() => _name;
+ String get name => _name;
void _ensureFileService() {
if (_fileService == null) {
@@ -1147,7 +1147,7 @@ class _RandomAccessFile extends _FileBase implements RandomAccessFile {
}
}
- bool get closed() => _id == 0;
+ bool get closed => _id == 0;
void _checkNotClosed() {
if (closed) {
« no previous file with comments | « runtime/bin/file.dart ('k') | runtime/bin/http.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698