Removed redundant error message display. Signed-off-by: Erik de Bruin <e...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/545028df Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/545028df Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/545028df Branch: refs/heads/develop Commit: 545028df25df6676cf17bd4c174c32c9c200f6a0 Parents: 154b7f8 Author: Erik de Bruin <e...@ixsoftware.nl> Authored: Thu Jul 31 14:18:57 2014 +0200 Committer: Erik de Bruin <e...@ixsoftware.nl> Committed: Fri Aug 1 12:59:16 2014 +0200 ---------------------------------------------------------------------- .../org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/545028df/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java ---------------------------------------------------------------------- diff --git a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java index 9edfa66..05d46dc 100644 --- a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java +++ b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java @@ -31,7 +31,6 @@ import com.google.javascript.jscomp.CompilationLevel; import com.google.javascript.jscomp.Compiler; import com.google.javascript.jscomp.CompilerOptions; import com.google.javascript.jscomp.DiagnosticGroups; -import com.google.javascript.jscomp.JSError; import com.google.javascript.jscomp.SourceFile; import com.google.javascript.jscomp.SourceMap; import com.google.javascript.jscomp.WarningLevel; @@ -97,6 +96,7 @@ public class JSClosureCompilerWrapper System.out.println(error); } + /* for (JSError message : compiler_.getWarnings()) { System.err.println("Warning message: " + message.toString()); @@ -106,6 +106,7 @@ public class JSClosureCompilerWrapper { System.err.println("Error message: " + message.toString()); } + */ } private void initExterns()