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

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

Issue 1513643009: Clean up package imports and library names (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 library analyzer.src.generated.java_engine_io;
2 6
3 import "dart:io"; 7 import "dart:io";
4 import "java_io.dart";
5 8
6 class OSUtilities { 9 import "package:analyzer/src/generated/java_io.dart";
7 static String LINE_SEPARATOR = isWindows() ? '\r\n' : '\n';
8 static bool isWindows() => Platform.operatingSystem == 'windows';
9 static bool isMac() => Platform.operatingSystem == 'macos';
10 }
11 10
12 class FileUtilities2 { 11 class FileUtilities2 {
13 static JavaFile createFile(String path) { 12 static JavaFile createFile(String path) {
14 return new JavaFile(path).getAbsoluteFile(); 13 return new JavaFile(path).getAbsoluteFile();
15 } 14 }
16 } 15 }
16
17 class OSUtilities {
18 static String LINE_SEPARATOR = isWindows() ? '\r\n' : '\n';
19 static bool isMac() => Platform.operatingSystem == 'macos';
20 static bool isWindows() => Platform.operatingSystem == 'windows';
21 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/java_engine.dart ('k') | pkg/analyzer/lib/src/generated/java_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698