From 8a935f120368a0de5b6611c13afc916a05a814e3 Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Mon, 9 Oct 2006 15:36:52 +0000 Subject: [PATCH] This didn't compile for me without the Generics. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4418 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 0fddb63c0..f32d74976 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;