Apparently this boolean needs to be set explicitly; also, whitespace fix.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6228 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -121,9 +121,10 @@ public class GenDObjectTask extends GenTask
|
||||
data.put("transport", transport);
|
||||
|
||||
// if this field is an array, we need its component types
|
||||
if (ftype.isArray()) {
|
||||
boolean array = ftype.isArray();
|
||||
data.put("have_elem", array);
|
||||
if (array) {
|
||||
Class<?> etype = ftype.getComponentType();
|
||||
data.put("have_elem", true);
|
||||
data.put("elemtype", GenUtil.simpleName(etype));
|
||||
data.put("wrapelem", GenUtil.boxArgument(etype, "value"));
|
||||
data.put("wrapoelem", GenUtil.boxArgument(etype, "ovalue"));
|
||||
|
||||
Reference in New Issue
Block a user