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

Unified Diff: client/fling/src/java/core/com/google/dart/fling/Http.java

Issue 8447006: Fling: Fix bit rot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: total Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/fling/src/java/core/com/google/dart/fling/Fling.java ('k') | client/samples/total/bin/start-server » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/fling/src/java/core/com/google/dart/fling/Http.java
diff --git a/client/fling/src/java/core/com/google/dart/fling/Http.java b/client/fling/src/java/core/com/google/dart/fling/Http.java
index 58350b8d201fbb861f030e838eb3936497f83f08..fe05146a943fc270c6da48b189b8c756e5f896f4 100644
--- a/client/fling/src/java/core/com/google/dart/fling/Http.java
+++ b/client/fling/src/java/core/com/google/dart/fling/Http.java
@@ -317,14 +317,10 @@ public class Http {
}
private static void emitWarningsAndErrors(StringBuilder buffer, CompileResult result) {
- for (CompileError error : result.getFatalErrors()) {
+ for (CompileError error : result.getErrors()) {
buffer.append("console.error("
+ toJavaScriptStringLiteral(error.toString()) + ");\n");
}
- for (CompileError error : result.getTypeErrors()) {
- buffer.append("console.warn("
- + toJavaScriptStringLiteral(error.toString()) + ");\n");
- }
for (CompileError error : result.getWarnings()) {
buffer.append("console.warn("
+ toJavaScriptStringLiteral(error.toString()) + ");\n");
« no previous file with comments | « client/fling/src/java/core/com/google/dart/fling/Fling.java ('k') | client/samples/total/bin/start-server » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698