zzy.zhiyuan.foxmail 8 years ago
parent
commit
bebfef8172

+ 1 - 1
jfwAptWeb/src/main/java/org/jfw/apt/web/handlers/buildParam/BaseArrayRPT.java

@ -52,7 +52,7 @@ public class BaseArrayRPT extends AbstractRequestParamTransfer {
52 52
			this.raiseNoFoundError(this.annotation.getParamNameInRequest());
53 53
			cw.l("}");
54 54
			cw.bL(vTypeName).w(" ").w(this.mpe.getName()).w(" = new ").w(vTypeName.substring(0, vTypeName.length() - 2))
55
					.el("params.length];");
55
					.el("[params.length];");
56 56
			cw.l("for( int i = 0 ; i < params.length ; ++i){");
57 57
			cw.bL(this.mpe.getName()).w("[i]=");
58 58
			this.transferToParams(this.mpe.getTypeName());