flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [5/5] git commit: [flex-falcon] [refs/heads/develop] - cleanup warnings
Date Fri, 19 Feb 2016 18:53:59 GMT
cleanup warnings


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/340d1971
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/340d1971
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/340d1971

Branch: refs/heads/develop
Commit: 340d1971d96fcb4063424e13a529257cd480b0e4
Parents: 7d8cc6f
Author: Alex Harui <aharui@apache.org>
Authored: Fri Feb 19 10:03:03 2016 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Feb 19 10:03:03 2016 -0800

----------------------------------------------------------------------
 .../internal/codegen/js/flexjs/TestFlexJSExpressions.java      | 1 -
 .../internal/codegen/js/flexjs/TestFlexJSGlobalClasses.java    | 1 -
 .../apache/flex/compiler/internal/codegen/as/ASEmitter.java    | 3 +--
 .../apache/flex/compiler/internal/codegen/js/JSDocEmitter.java | 1 -
 .../compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java   | 2 --
 .../compiler/internal/codegen/js/jx/MemberAccessEmitter.java   | 2 --
 .../compiler/internal/codegen/js/jx/PackageFooterEmitter.java  | 3 ---
 .../internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java        | 3 ---
 .../apache/flex/compiler/internal/graph/GoogDepsWriter.java    | 2 ++
 .../apache/flex/compiler/internal/projects/FlexJSProject.java  | 4 ----
 .../apache/flex/compiler/utils/JSClosureCompilerWrapper.java   | 3 +--
 .../flex/compiler/utils/VF2JSClosureCompilerWrapper.java       | 1 +
 .../src/org/apache/flex/compiler/config/Configuration.java     | 2 +-
 .../flex/compiler/internal/projects/CompilerProject.java       | 2 +-
 .../apache/flex/compiler/internal/targets/LinkageChecker.java  | 2 +-
 .../apache/flex/compiler/internal/tree/as/FunctionNode.java    | 6 ------
 .../flex/compiler/internal/tree/as/FunctionObjectNode.java     | 1 -
 .../apache/flex/compiler/internal/tree/as/IdentifierNode.java  | 1 -
 .../internal/units/requests/ASFileScopeRequestResult.java      | 1 -
 19 files changed, 8 insertions(+), 33 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
index 90241b2..b5786f6 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSExpressions.java
@@ -34,7 +34,6 @@ import org.apache.flex.compiler.tree.as.IFileNode;
 import org.apache.flex.compiler.tree.as.IFunctionCallNode;
 import org.apache.flex.compiler.tree.as.IFunctionNode;
 import org.apache.flex.compiler.tree.as.IMemberAccessExpressionNode;
-import org.apache.flex.compiler.tree.as.IVariableNode;
 import org.junit.Ignore;
 import org.junit.Test;
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSGlobalClasses.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSGlobalClasses.java
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSGlobalClasses.java
index b67ded1..1f0360f 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSGlobalClasses.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/TestFlexJSGlobalClasses.java
@@ -27,7 +27,6 @@ import org.apache.flex.compiler.internal.projects.FlexJSProject;
 import org.apache.flex.compiler.internal.tree.as.VariableNode;
 import org.apache.flex.compiler.tree.as.IASNode;
 import org.apache.flex.compiler.tree.as.IBinaryOperatorNode;
-import org.apache.flex.compiler.tree.as.IExpressionNode;
 import org.apache.flex.compiler.tree.as.IForLoopNode;
 import org.apache.flex.compiler.tree.as.IFunctionNode;
 import org.apache.flex.compiler.tree.as.IUnaryOperatorNode;

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASEmitter.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASEmitter.java
index 84674fa..32e7130 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/as/ASEmitter.java
@@ -42,7 +42,6 @@ import org.apache.flex.compiler.internal.tree.as.ChainedVariableNode;
 import org.apache.flex.compiler.internal.tree.as.ContainerNode;
 import org.apache.flex.compiler.internal.tree.as.FunctionNode;
 import org.apache.flex.compiler.internal.tree.as.LabeledStatementNode;
-import org.apache.flex.compiler.internal.tree.as.TernaryOperatorNode;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.as.IASNode;
@@ -1413,7 +1412,7 @@ public class ASEmitter implements IASEmitter, IEmitter
         {
             write(node.getOperator().getOperatorText());
             IExpressionNode opNode = node.getOperandNode();
-            getWalker().walk(node.getOperandNode());
+            getWalker().walk(opNode);
         }
 
         else if (node.getNodeID() == ASTNodeID.Op_PostIncrID

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSDocEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSDocEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSDocEmitter.java
index 75de11c..743ecce 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSDocEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/JSDocEmitter.java
@@ -26,7 +26,6 @@ import org.apache.flex.compiler.codegen.js.IJSEmitter;
 import org.apache.flex.compiler.internal.codegen.as.ASEmitterTokens;
 import org.apache.flex.compiler.tree.as.IASNode;
 
-@SuppressWarnings("unused")
 public class JSDocEmitter implements IDocEmitter, IEmitter
 {
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index 4918c95..f3fd8b6 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -58,11 +58,9 @@ import org.apache.flex.compiler.internal.tree.as.BinaryOperatorAsNode;
 import org.apache.flex.compiler.internal.tree.as.BlockNode;
 import org.apache.flex.compiler.internal.tree.as.DynamicAccessNode;
 import org.apache.flex.compiler.internal.tree.as.FunctionCallNode;
-import org.apache.flex.compiler.internal.tree.as.FunctionNode;
 import org.apache.flex.compiler.internal.tree.as.IdentifierNode;
 import org.apache.flex.compiler.internal.tree.as.LabeledStatementNode;
 import org.apache.flex.compiler.internal.tree.as.MemberAccessExpressionNode;
-import org.apache.flex.compiler.internal.tree.as.TernaryOperatorNode;
 import org.apache.flex.compiler.projects.ICompilerProject;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.as.IASNode;

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/MemberAccessEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/MemberAccessEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/MemberAccessEmitter.java
index 518def2..df1f00a 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/MemberAccessEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/MemberAccessEmitter.java
@@ -31,9 +31,7 @@ import org.apache.flex.compiler.internal.definitions.FunctionDefinition;
 import org.apache.flex.compiler.internal.projects.FlexJSProject;
 import org.apache.flex.compiler.internal.tree.as.FunctionCallNode;
 import org.apache.flex.compiler.internal.tree.as.GetterNode;
-import org.apache.flex.compiler.internal.tree.as.IdentifierNode;
 import org.apache.flex.compiler.internal.tree.as.MemberAccessExpressionNode;
-import org.apache.flex.compiler.internal.tree.as.UnaryOperatorAtNode;
 import org.apache.flex.compiler.projects.ICompilerProject;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.as.IASNode;

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/PackageFooterEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/PackageFooterEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/PackageFooterEmitter.java
index ac347d2..7c5e244 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/PackageFooterEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/PackageFooterEmitter.java
@@ -35,7 +35,6 @@ import org.apache.flex.compiler.internal.codegen.as.ASEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.JSEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.JSSubEmitter;
 import org.apache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSDocEmitter;
-import org.apache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSEmitter;
 import org.apache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.utils.EmitterUtils;
 import org.apache.flex.compiler.internal.driver.js.goog.JSGoogConfiguration;
@@ -504,7 +503,6 @@ public class PackageFooterEmitter extends JSSubEmitter implements
     		writeToken(ASEmitterTokens.COMMA);
     	    write("declaredBy");
     	    writeToken(ASEmitterTokens.COLON);
-    	    ITypeNode declarer;
     	    write(ASEmitterTokens.SINGLE_QUOTE);
     	    write(method.declaredBy);
     	    write(ASEmitterTokens.SINGLE_QUOTE);
@@ -549,7 +547,6 @@ public class PackageFooterEmitter extends JSSubEmitter implements
     
     private void writeMetaData(IMetaTagNode[] tags)
     {
-    	JSFlexJSEmitter emitter = (JSFlexJSEmitter) getEmitter();
     	JSGoogConfiguration config = ((FlexJSProject)getWalker().getProject()).config;
     	Set<String> allowedNames = config.getCompilerKeepAs3Metadata();
     	

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
index 65140bf..d69685e 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSEmitter.java
@@ -52,7 +52,6 @@ import org.apache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSEmitter;
 import org.apache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.goog.JSGoogEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.jx.PackageFooterEmitter;
-import org.apache.flex.compiler.internal.codegen.js.jx.PackageFooterEmitter.VariableData;
 import org.apache.flex.compiler.internal.codegen.js.utils.EmitterUtils;
 import org.apache.flex.compiler.internal.codegen.mxml.MXMLEmitter;
 import org.apache.flex.compiler.internal.projects.FlexJSProject;
@@ -61,11 +60,9 @@ import org.apache.flex.compiler.internal.scopes.ASProjectScope;
 import org.apache.flex.compiler.internal.tree.as.FunctionCallNode;
 import org.apache.flex.compiler.internal.tree.as.IdentifierNode;
 import org.apache.flex.compiler.internal.tree.as.MemberAccessExpressionNode;
-import org.apache.flex.compiler.internal.tree.mxml.MXMLDocumentNode;
 import org.apache.flex.compiler.projects.ICompilerProject;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.as.IASNode;
-import org.apache.flex.compiler.tree.as.IClassNode;
 import org.apache.flex.compiler.tree.as.IExpressionNode;
 import org.apache.flex.compiler.tree.as.IFunctionNode;
 import org.apache.flex.compiler.tree.as.IImportNode;

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java b/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
index 4f255c1..e0173d2 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
@@ -668,6 +668,8 @@ public class GoogDepsWriter {
 		public FileInfo fileInfo;
 		
 	}
+	
+	@SuppressWarnings( "unused" )
 	private class FileInfo
 	{
 		public String inherits;

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx/src/org/apache/flex/compiler/internal/projects/FlexJSProject.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/projects/FlexJSProject.java
b/compiler.jx/src/org/apache/flex/compiler/internal/projects/FlexJSProject.java
index 1cf6d3d..ff668c6 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/projects/FlexJSProject.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/projects/FlexJSProject.java
@@ -25,17 +25,13 @@ import java.util.List;
 import java.util.Set;
 
 import org.apache.flex.compiler.common.DependencyType;
-import org.apache.flex.compiler.config.Configuration;
 import org.apache.flex.compiler.definitions.IDefinition;
-import org.apache.flex.compiler.definitions.IScopedDefinition;
 import org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSEmitterTokens;
 import org.apache.flex.compiler.internal.css.codegen.CSSCompilationSession;
 import org.apache.flex.compiler.internal.definitions.InterfaceDefinition;
 import org.apache.flex.compiler.internal.driver.js.flexjs.JSCSSCompilationSession;
 import org.apache.flex.compiler.internal.driver.js.goog.JSGoogConfiguration;
 import org.apache.flex.compiler.internal.scopes.ASProjectScope.DefinitionPromise;
-import org.apache.flex.compiler.internal.scopes.ASScope;
-import org.apache.flex.compiler.internal.scopes.PackageScope;
 import org.apache.flex.compiler.internal.targets.LinkageChecker;
 import org.apache.flex.compiler.internal.tree.mxml.MXMLClassDefinitionNode;
 import org.apache.flex.compiler.internal.units.SWCCompilationUnit;

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/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 dad41d4..4008b01 100644
--- a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java
+++ b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java
@@ -38,8 +38,6 @@ import com.google.javascript.jscomp.FlexJSDiagnosticGroups;
 import com.google.javascript.jscomp.SourceFile;
 import com.google.javascript.jscomp.SourceMap;
 import com.google.javascript.jscomp.WarningLevel;
-import com.google.javascript.rhino.Node;
-import com.google.javascript.rhino.Token;
 
 public class JSClosureCompilerWrapper
 {
@@ -128,6 +126,7 @@ public class JSClosureCompilerWrapper
         */
     }
     
+    @SuppressWarnings( "deprecation" )
     private void initExterns()
     {
         try

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler.jx/src/org/apache/flex/compiler/utils/VF2JSClosureCompilerWrapper.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/utils/VF2JSClosureCompilerWrapper.java
b/compiler.jx/src/org/apache/flex/compiler/utils/VF2JSClosureCompilerWrapper.java
index 2173abe..f1240e4 100644
--- a/compiler.jx/src/org/apache/flex/compiler/utils/VF2JSClosureCompilerWrapper.java
+++ b/compiler.jx/src/org/apache/flex/compiler/utils/VF2JSClosureCompilerWrapper.java
@@ -98,6 +98,7 @@ public class VF2JSClosureCompilerWrapper
         }
     }
     
+    @SuppressWarnings( "deprecation" )
     private void initExterns()
     {
         try

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler/src/org/apache/flex/compiler/config/Configuration.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/config/Configuration.java b/compiler/src/org/apache/flex/compiler/config/Configuration.java
index e2bbd27..ae20994 100644
--- a/compiler/src/org/apache/flex/compiler/config/Configuration.java
+++ b/compiler/src/org/apache/flex/compiler/config/Configuration.java
@@ -5870,7 +5870,7 @@ public class Configuration
      * Controls if the compiler should try to resolve XML methods.  Enabling this makes it
      * possible to write new XML implementations but causes more warnings.  Default is false.
      *
-     * @param enableTelemetry True to enable strict XML checking, false to disable. The default
is to disable.
+     * @param strictXML True to enable strict XML checking, false to disable. The default
is to disable.
      */
     public void setStrictXML(boolean strictXML)
     {

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler/src/org/apache/flex/compiler/internal/projects/CompilerProject.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/projects/CompilerProject.java
b/compiler/src/org/apache/flex/compiler/internal/projects/CompilerProject.java
index c237202..4914cc6 100644
--- a/compiler/src/org/apache/flex/compiler/internal/projects/CompilerProject.java
+++ b/compiler/src/org/apache/flex/compiler/internal/projects/CompilerProject.java
@@ -990,7 +990,7 @@ public abstract class CompilerProject implements ICompilerProject
     }
 
     /**
-     * @return collection of compiler problems.
+     * collection of compiler problems.
      */
     public void setProblems(Collection<ICompilerProblem> problems)
     {

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler/src/org/apache/flex/compiler/internal/targets/LinkageChecker.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/targets/LinkageChecker.java b/compiler/src/org/apache/flex/compiler/internal/targets/LinkageChecker.java
index b37e445..8814650 100644
--- a/compiler/src/org/apache/flex/compiler/internal/targets/LinkageChecker.java
+++ b/compiler/src/org/apache/flex/compiler/internal/targets/LinkageChecker.java
@@ -91,7 +91,7 @@ public class LinkageChecker
      * no matter which library it is found in. This in being done to match the
      * behavior of the old compiler.
      * 
-     * @throws InterruptedException
+     * @throws InterruptedException if implementation throws one
      */
     public void initExterns() throws InterruptedException
     {

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler/src/org/apache/flex/compiler/internal/tree/as/FunctionNode.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/tree/as/FunctionNode.java b/compiler/src/org/apache/flex/compiler/internal/tree/as/FunctionNode.java
index 5eb3621..0beaf26 100644
--- a/compiler/src/org/apache/flex/compiler/internal/tree/as/FunctionNode.java
+++ b/compiler/src/org/apache/flex/compiler/internal/tree/as/FunctionNode.java
@@ -68,7 +68,6 @@ import org.apache.flex.compiler.tree.as.IContainerNode;
 import org.apache.flex.compiler.tree.as.IDefinitionNode;
 import org.apache.flex.compiler.tree.as.IExpressionNode;
 import org.apache.flex.compiler.tree.as.IFunctionNode;
-import org.apache.flex.compiler.tree.as.IFunctionObjectNode;
 import org.apache.flex.compiler.tree.as.INamespaceDecorationNode;
 import org.apache.flex.compiler.tree.as.IParameterNode;
 import org.apache.flex.compiler.tree.as.IScopedNode;
@@ -138,11 +137,6 @@ public class FunctionNode extends BaseTypedDefinitionNode implements
IFunctionNo
     private ASToken openT = null;
     
     /**
-     * True if the function body has anonymous functions.
-     */
-    private boolean hasAnonymousFunctions = false;
-
-    /**
      * True if the function body is a deferred node.
      */
     private boolean isBodyDeferred = false;

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler/src/org/apache/flex/compiler/internal/tree/as/FunctionObjectNode.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/tree/as/FunctionObjectNode.java
b/compiler/src/org/apache/flex/compiler/internal/tree/as/FunctionObjectNode.java
index 4b6b268..4d7e481 100644
--- a/compiler/src/org/apache/flex/compiler/internal/tree/as/FunctionObjectNode.java
+++ b/compiler/src/org/apache/flex/compiler/internal/tree/as/FunctionObjectNode.java
@@ -30,7 +30,6 @@ import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.projects.ICompilerProject;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.as.IASNode;
-import org.apache.flex.compiler.tree.as.IFunctionNode;
 import org.apache.flex.compiler.tree.as.IFunctionObjectNode;
 
 /**

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler/src/org/apache/flex/compiler/internal/tree/as/IdentifierNode.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/tree/as/IdentifierNode.java b/compiler/src/org/apache/flex/compiler/internal/tree/as/IdentifierNode.java
index 3859b55..65d8478 100644
--- a/compiler/src/org/apache/flex/compiler/internal/tree/as/IdentifierNode.java
+++ b/compiler/src/org/apache/flex/compiler/internal/tree/as/IdentifierNode.java
@@ -61,7 +61,6 @@ import org.apache.flex.compiler.internal.tree.as.metadata.MetaTagsNode;
 import org.apache.flex.compiler.internal.tree.as.metadata.StyleTagNode;
 import org.apache.flex.compiler.internal.workspaces.Workspace;
 import org.apache.flex.compiler.parsing.IASToken;
-import org.apache.flex.compiler.problems.AccessUndefinedMemberProblem;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.projects.ICompilerProject;
 import org.apache.flex.compiler.tree.ASTNodeID;

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/340d1971/compiler/src/org/apache/flex/compiler/internal/units/requests/ASFileScopeRequestResult.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/units/requests/ASFileScopeRequestResult.java
b/compiler/src/org/apache/flex/compiler/internal/units/requests/ASFileScopeRequestResult.java
index a753db9..fac33c1 100644
--- a/compiler/src/org/apache/flex/compiler/internal/units/requests/ASFileScopeRequestResult.java
+++ b/compiler/src/org/apache/flex/compiler/internal/units/requests/ASFileScopeRequestResult.java
@@ -29,7 +29,6 @@ import org.apache.flex.compiler.definitions.IPackageDefinition;
 import org.apache.flex.compiler.filespecs.IFileSpecification;
 import org.apache.flex.compiler.internal.scopes.ASFileScope;
 import org.apache.flex.compiler.internal.scopes.ASScope;
-import org.apache.flex.compiler.internal.scopes.PackageScope;
 import org.apache.flex.compiler.internal.tree.as.ContainerNode;
 import org.apache.flex.compiler.internal.units.ASCompilationUnit;
 import org.apache.flex.compiler.problems.ICompilerProblem;


Mime
View raw message