flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ftho...@apache.org
Subject git commit: [flex-falcon] [refs/heads/IDEA-FLEX_JS_COMPILER] - FLEX-34860 : Cleanup CompJSC
Date Wed, 27 May 2015 14:08:27 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/IDEA-FLEX_JS_COMPILER f47c8490c -> bdf2549da


FLEX-34860 : Cleanup CompJSC


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

Branch: refs/heads/IDEA-FLEX_JS_COMPILER
Commit: bdf2549da0d94c91ef864c32309253fff895525f
Parents: f47c849
Author: Frédéric THOMAS <webdoublefx@gmail.com>
Authored: Wed May 27 15:08:11 2015 +0100
Committer: Frédéric THOMAS <webdoublefx@gmail.com>
Committed: Wed May 27 15:08:11 2015 +0100

----------------------------------------------------------------------
 flex-compiler-oem/src/flex2/tools/CompJSC.java | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/bdf2549d/flex-compiler-oem/src/flex2/tools/CompJSC.java
----------------------------------------------------------------------
diff --git a/flex-compiler-oem/src/flex2/tools/CompJSC.java b/flex-compiler-oem/src/flex2/tools/CompJSC.java
index d270529..c6f107b 100644
--- a/flex-compiler-oem/src/flex2/tools/CompJSC.java
+++ b/flex-compiler-oem/src/flex2/tools/CompJSC.java
@@ -1,10 +1,6 @@
 package flex2.tools;
 
 import org.apache.flex.compiler.clients.COMPJSC;
-import org.apache.flex.compiler.clients.JSCompilerEntryPoint;
-import org.apache.flex.compiler.driver.IBackend;
-
-import java.lang.reflect.InvocationTargetException;
 
 /**
  * @author: Frederic Thomas
@@ -13,11 +9,5 @@ import java.lang.reflect.InvocationTargetException;
  */
 public class CompJSC extends MxmlJSC {
 
-	private static Class<COMPJSC> COMPILER = COMPJSC.class;
-
-	private JSCompilerEntryPoint compiler;
-
-	protected JSCompilerEntryPoint getCompilerInstance(IBackend backend) throws NoSuchMethodException,
IllegalAccessException, InvocationTargetException, InstantiationException {
-		return compiler != null ? compiler : COMPILER.getDeclaredConstructor(IBackend.class).newInstance(backend);
-	}
+    private static Class<COMPJSC> COMPILER = COMPJSC.class;
 }


Mime
View raw message