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

Side by Side Diff: packages/analyzer/lib/src/generated/java_engine_io.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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
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 import "java_io.dart";
5 5
6 class OSUtilities { 6 class OSUtilities {
7 static String LINE_SEPARATOR = isWindows() ? '\r\n' : '\n'; 7 static String LINE_SEPARATOR = isWindows() ? '\r\n' : '\n';
8 static bool isWindows() => Platform.operatingSystem == 'windows'; 8 static bool isWindows() => Platform.operatingSystem == 'windows';
9 static bool isMac() => Platform.operatingSystem == 'macos'; 9 static bool isMac() => Platform.operatingSystem == 'macos';
10 } 10 }
11 11
12 class FileUtilities2 { 12 class FileUtilities2 {
13 static JavaFile createFile(String path) { 13 static JavaFile createFile(String path) {
14 return new JavaFile(path).getAbsoluteFile(); 14 return new JavaFile(path).getAbsoluteFile();
15 } 15 }
16 } 16 }
OLDNEW
« no previous file with comments | « packages/analyzer/lib/src/generated/java_engine.dart ('k') | packages/analyzer/lib/src/generated/java_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698