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

Unified Diff: runtime/bin/platform_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/platform.dart ('k') | runtime/bin/process.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform_impl.dart
diff --git a/runtime/bin/platform_impl.dart b/runtime/bin/platform_impl.dart
index d688a464b2736c3673909d32a72644d4daad0f4c..8949f794b61c7a5a7afb203c080573bd31b9341e 100644
--- a/runtime/bin/platform_impl.dart
+++ b/runtime/bin/platform_impl.dart
@@ -9,19 +9,19 @@ class _Platform {
static _localHostname() native "Platform_LocalHostname";
static _environment() native "Platform_Environment";
- static int get numberOfProcessors() {
+ static int get numberOfProcessors {
return _numberOfProcessors();
}
- static String get pathSeparator() {
+ static String get pathSeparator {
return _pathSeparator();
}
- static String get operatingSystem() {
+ static String get operatingSystem {
return _operatingSystem();
}
- static String get localHostname() {
+ static String get localHostname {
var result = _localHostname();
if (result is OSError) {
throw result;
@@ -30,7 +30,7 @@ class _Platform {
}
}
- static Map<String, String> get environment() {
+ static Map<String, String> get environment {
var env = _environment();
if (env is OSError) {
throw env;
« no previous file with comments | « runtime/bin/platform.dart ('k') | runtime/bin/process.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698