You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2015/07/02 20:10:55 UTC

git commit: [flex-falcon] [refs/heads/develop] - Temporarily (?) shut off 'deprecated annotation' warning

Repository: flex-falcon
Updated Branches:
  refs/heads/develop 1f35e5260 -> d30b0c40e


Temporarily (?) shut off 'deprecated annotation' warning

Signed-off-by: Erik de Bruin <er...@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/d30b0c40
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/d30b0c40
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/d30b0c40

Branch: refs/heads/develop
Commit: d30b0c40e11e4ae4694ec8dede5802ab695e6833
Parents: 1f35e52
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Thu Jul 2 20:10:45 2015 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Jul 2 20:10:45 2015 +0200

----------------------------------------------------------------------
 .../org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/d30b0c40/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 b4c7d5e..efb63ac 100644
--- a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java
+++ b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java
@@ -243,6 +243,9 @@ public class JSClosureCompilerWrapper
             options_.setWarningLevel(DiagnosticGroups.USE_OF_GOOG_BASE, CheckLevel.WARNING);
             options_.setWarningLevel(DiagnosticGroups.VIOLATED_MODULE_DEP, CheckLevel.WARNING);
             
+            // TODO (erikdebruin) Need to figure out how we can replace @expose
+            options_.setWarningLevel(DiagnosticGroups.DEPRECATED_ANNOTATIONS, CheckLevel.OFF);
+
             // create custom DiagnosticGroups to shut off some individual warnings when we
             // still want warnings for others in the group.
             options_.setWarningLevel(FlexJSDiagnosticGroups.FLEXJS_NOT_A_CONSTRUCTOR, CheckLevel.OFF);