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

Unified Diff: pkg/analyzer/lib/src/generated/java_io.dart

Issue 115523004: Remove debug output and copy java_io.dart into resources. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « editor/util/plugins/com.google.dart.java2dart/resources/java_io.dart ('k') | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/java_io.dart
diff --git a/pkg/analyzer/lib/src/generated/java_io.dart b/pkg/analyzer/lib/src/generated/java_io.dart
index a9bc0da6d75855321e27ee1b92f8d48c2bea041a..bdd7fd860b643a99cb844002dc2ec7a4001fe4eb 100644
--- a/pkg/analyzer/lib/src/generated/java_io.dart
+++ b/pkg/analyzer/lib/src/generated/java_io.dart
@@ -9,7 +9,6 @@ class JavaSystemIO {
static String getProperty(String name) {
{
String value = _properties[name];
-// print('getProperty[$name].1: $value');
if (value != null) {
return value;
}
@@ -24,19 +23,6 @@ class JavaSystemIO {
return '\n';
}
if (name == 'com.google.dart.sdk') {
- String value = Platform.environment['DART_SDK'];
- print(Platform.environment);
- print('current: ${pathos.current}');
- print('exec: ${Platform.executable}');
- print('execDir: ${pathos.dirname(Platform.executable)}');
- print('getProperty[$name].2: $value');
-// throw "";
-// if (value != null) {
-// _properties[name] = value;
-// return value;
-// }
- }
- if (name == 'com.google.dart.sdk') {
String exec = Platform.executable;
if (exec.length != 0) {
String sdkPath;
@@ -46,13 +32,11 @@ class JavaSystemIO {
sdkPath = pathos.join(pathos.dirname(outDir), "sdk");
if (new Directory(sdkPath).existsSync()) {
_properties[name] = sdkPath;
- print('sdkPath.2: $sdkPath');
return sdkPath;
}
}
// probably be "dart-sdk/bin/dart"
sdkPath = pathos.dirname(pathos.dirname(exec));
- print('sdkPath.3: $sdkPath');
_properties[name] = sdkPath;
return sdkPath;
}
« no previous file with comments | « editor/util/plugins/com.google.dart.java2dart/resources/java_io.dart ('k') | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698