From 499f86715ac162d78f30e0af9f54d5e881da3be7 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Mon, 9 Oct 2006 19:28:35 +0000 Subject: [PATCH] The class in question here is not an instance of ActionScript.java but rather an arbitrary Java class which we are converting to ActionScript (the language, not the class). Hopefully this will appease the compiler. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4419 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../com/threerings/presents/tools/ActionScriptSource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/com/threerings/presents/tools/ActionScriptSource.java b/src/java/com/threerings/presents/tools/ActionScriptSource.java index f32d74976..12fd63ef4 100644 --- a/src/java/com/threerings/presents/tools/ActionScriptSource.java +++ b/src/java/com/threerings/presents/tools/ActionScriptSource.java @@ -334,9 +334,9 @@ 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; + Constructor mainctor = null; boolean needsNoArg = false; - for (Constructor ctor : jclass.getConstructors()) { + for (Constructor ctor : jclass.getConstructors()) { ActionScript asa = ctor.getAnnotation(ActionScript.class); if (asa != null && asa.omit()) { continue;