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

Unified Diff: editor/util/plugins/com.google.dart.java2dart/resources/java_io.dart

Issue 17932005: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Disable resolver tests Created 7 years, 6 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
Index: editor/util/plugins/com.google.dart.java2dart/resources/java_io.dart
diff --git a/editor/util/plugins/com.google.dart.java2dart/resources/java_io.dart b/editor/util/plugins/com.google.dart.java2dart/resources/java_io.dart
index fbbe65fb1037f1f0144f3ccae457abb8a33f1c58..c561daa8a043a7095e9c8de686e0f50ac4ec93b9 100644
--- a/editor/util/plugins/com.google.dart.java2dart/resources/java_io.dart
+++ b/editor/util/plugins/com.google.dart.java2dart/resources/java_io.dart
@@ -15,7 +15,7 @@ class JavaSystemIO {
return Platform.operatingSystem;
}
if (name == 'line.separator') {
- if (Platform.operatingSystem == 'windows') {
+ if (Platform.isWindows) {
return '\r\n';
}
return '\n';

Powered by Google App Engine
This is Rietveld 408576698