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

Side by Side Diff: editor/util/plugins/com.google.dart.java2dart/resources/java_engine_io.dart

Issue 12543009: Use JavaFile instead of Dart File. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | editor/util/plugins/com.google.dart.java2dart/resources/java_io.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library java.engine.io; 1 library java.engine.io;
2 2
3 import "dart:io"; 3 import "dart:io";
4 import "java_io.dart";
4 5
5 6
6 class OSUtilities { 7 class OSUtilities {
7 static bool isWindows() => Platform.operatingSystem == 'windows'; 8 static bool isWindows() => Platform.operatingSystem == 'windows';
8 static bool isMac() => Platform.operatingSystem == 'macos'; 9 static bool isMac() => Platform.operatingSystem == 'macos';
9 } 10 }
10 11
11 class FileUtilities2 { 12 class FileUtilities2 {
12 static File createFile(String path) => new File(path); 13 static JavaFile createFile(String path) => new JavaFile(path);
13 } 14 }
OLDNEW
« no previous file with comments | « no previous file | editor/util/plugins/com.google.dart.java2dart/resources/java_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698