From 45694bc0f0cad2fd92d3d8db19423036ed722a78 Mon Sep 17 00:00:00 2001 From: Tom Conkling Date: Sat, 1 May 2010 02:40:29 +0000 Subject: [PATCH] This ActionScript constructor generator doesn't seem particularly useful, since it requires the developer to fill in the body git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6065 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../com/threerings/presents/tools/ActionScriptSource.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/java/com/threerings/presents/tools/ActionScriptSource.java b/src/java/com/threerings/presents/tools/ActionScriptSource.java index 9802f3b9f..a0d24f003 100644 --- a/src/java/com/threerings/presents/tools/ActionScriptSource.java +++ b/src/java/com/threerings/presents/tools/ActionScriptSource.java @@ -347,7 +347,8 @@ public class ActionScriptSource // ActionScript only supports one constructor so we find the one with the most arguments // and we make a note whether or not we need a no argument constructor which we create // using default arguments - Constructor mainctor = null; + // Removed by TSC - it's not clear that this is useful + /*Constructor mainctor = null; boolean needsNoArg = false; for (Constructor ctor : jclass.getConstructors()) { ActionScript asa = ctor.getAnnotation(ActionScript.class); @@ -369,7 +370,7 @@ public class ActionScriptSource createActionScriptDeclaration(mainctor, needsNoArg)); mem.body = " {\n TODO: IMPLEMENT ME\n }\n"; list.add(mem); - } + }*/ METHODS: for (Method method : jclass.getDeclaredMethods()) {