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

Unified Diff: sdk/lib/io/platform.dart

Issue 233093004: - Apply review comments from https://codereview.chromium.org/232223004/ (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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
« runtime/bin/process_patch.dart ('K') | « sdk/lib/io/link.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/platform.dart
===================================================================
--- sdk/lib/io/platform.dart (revision 34928)
+++ sdk/lib/io/platform.dart (working copy)
@@ -100,22 +100,22 @@
/**
* Returns true if the operating system is Linux.
*/
- static bool get isLinux => _operatingSystem == "linux";
+ static final bool isLinux = (_operatingSystem == "linux");
/**
* Returns true if the operating system is Mac OS.
*/
- static bool get isMacOS => _operatingSystem == "macos";
+ static final bool isMacOS = (_operatingSystem == "macos");
/**
* Returns true if the operating system is Windows.
*/
- static bool get isWindows => _operatingSystem == "windows";
+ static final bool isWindows = (_operatingSystem == "windows");
/**
* Returns true if the operating system is Android.
*/
- static bool get isAndroid => _operatingSystem == "android";
+ static final bool isAndroid = (_operatingSystem == "android");
/**
* Get the environment for this process.
« runtime/bin/process_patch.dart ('K') | « sdk/lib/io/link.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698