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

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

Issue 975453004: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
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
7 class OSUtilities { 6 class OSUtilities {
8 static String LINE_SEPARATOR = isWindows() ? '\r\n' : '\n'; 7 static String LINE_SEPARATOR = isWindows() ? '\r\n' : '\n';
9 static bool isWindows() => Platform.operatingSystem == 'windows'; 8 static bool isWindows() => Platform.operatingSystem == 'windows';
10 static bool isMac() => Platform.operatingSystem == 'macos'; 9 static bool isMac() => Platform.operatingSystem == 'macos';
11 } 10 }
12 11
13 class FileUtilities2 { 12 class FileUtilities2 {
14 static JavaFile createFile(String path) { 13 static JavaFile createFile(String path) {
15 return new JavaFile(path).getAbsoluteFile(); 14 return new JavaFile(path).getAbsoluteFile();
16 } 15 }
17 } 16 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/java_engine.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698