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
This commit is contained in:
@@ -334,9 +334,9 @@ public class ActionScriptSource
|
|||||||
// ActionScript only supports one constructor so we find the one with
|
// 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
|
// the most arguments and we make a note whether or not we need a no
|
||||||
// argument constructor which we create using default arguments
|
// argument constructor which we create using default arguments
|
||||||
Constructor mainctor = null;
|
Constructor<ActionScript> mainctor = null;
|
||||||
boolean needsNoArg = false;
|
boolean needsNoArg = false;
|
||||||
for (Constructor ctor : jclass.getConstructors()) {
|
for (Constructor<ActionScript> ctor : jclass.getConstructors()) {
|
||||||
ActionScript asa = ctor.getAnnotation(ActionScript.class);
|
ActionScript asa = ctor.getAnnotation(ActionScript.class);
|
||||||
if (asa != null && asa.omit()) {
|
if (asa != null && asa.omit()) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user