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

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

Issue 687663002: More code clean-up (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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.io; 1 library java.io;
2 2
3 import "dart:io"; 3 import "dart:io";
4 import 'java_core.dart' show JavaIOException, CharSequence; 4 import 'java_core.dart' show JavaIOException;
5 import 'package:path/path.dart' as pathos; 5 import 'package:path/path.dart' as pathos;
6 6
7 class JavaSystemIO { 7 class JavaSystemIO {
8 static Map<String, String> _properties = new Map(); 8 static Map<String, String> _properties = new Map();
9 static String getProperty(String name) { 9 static String getProperty(String name) {
10 { 10 {
11 String value = _properties[name]; 11 String value = _properties[name];
12 if (value != null) { 12 if (value != null) {
13 return value; 13 return value;
14 } 14 }
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 var files = <JavaFile>[]; 130 var files = <JavaFile>[];
131 var entities = _newDirectory().listSync(); 131 var entities = _newDirectory().listSync();
132 for (FileSystemEntity entity in entities) { 132 for (FileSystemEntity entity in entities) {
133 files.add(new JavaFile(entity.path)); 133 files.add(new JavaFile(entity.path));
134 } 134 }
135 return files; 135 return files;
136 } 136 }
137 File _newFile() => new File(_path); 137 File _newFile() => new File(_path);
138 Directory _newDirectory() => new Directory(_path); 138 Directory _newDirectory() => new Directory(_path);
139 } 139 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/java_core.dart ('k') | pkg/analyzer/lib/src/generated/source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698