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

Side by Side Diff: pkg/analyzer/lib/src/generated/java_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.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_io;
2 6
3 import "dart:io"; 7 import "dart:io";
4 8
9 import 'package:analyzer/src/generated/java_core.dart' show JavaIOException;
5 import 'package:path/path.dart' as path; 10 import 'package:path/path.dart' as path;
6 11
7 import 'java_core.dart' show JavaIOException;
8
9 class JavaFile { 12 class JavaFile {
10 static path.Context pathContext = path.context; 13 static path.Context pathContext = path.context;
11 static final String separator = Platform.pathSeparator; 14 static final String separator = Platform.pathSeparator;
12 static final int separatorChar = Platform.pathSeparator.codeUnitAt(0); 15 static final int separatorChar = Platform.pathSeparator.codeUnitAt(0);
13 String _path; 16 String _path;
14 JavaFile(String path) { 17 JavaFile(String path) {
15 _path = path; 18 _path = path;
16 } 19 }
17 JavaFile.fromUri(Uri uri) : this(pathContext.fromUri(uri)); 20 JavaFile.fromUri(Uri uri) : this(pathContext.fromUri(uri));
18 JavaFile.relative(JavaFile base, String child) { 21 JavaFile.relative(JavaFile base, String child) {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 154 }
152 return null; 155 return null;
153 } 156 }
154 157
155 static String setProperty(String name, String value) { 158 static String setProperty(String name, String value) {
156 String oldValue = _properties[name]; 159 String oldValue = _properties[name];
157 _properties[name] = value; 160 _properties[name] = value;
158 return oldValue; 161 return oldValue;
159 } 162 }
160 } 163 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/java_engine_io.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698