Browse Source

jfinal 4.1 release ^_^

James 6 years ago
parent
commit
01480fb2d5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/jfinal/proxy/proxy_class_template.jf

+ 2 - 2
src/main/java/com/jfinal/proxy/proxy_class_template.jf

@@ -27,7 +27,7 @@ import com.jfinal.aop.Invocation;
 public class #(name)#(classTypeVars) extends #(targetName)#(classTypeVars) {
 #for(x : methodList)
 	
-	public #(x.returnType) #(x.name)(#for(y : x.paraTypes)#(y) p#(for.index)#(for.last ? "" : ", ")#end) {
+	public #(x.methodTypeVars) #(x.returnType) #(x.name)(#for(y : x.paraTypes)#(y) p#(for.index)#(for.last ? "" : ", ")#end) {
 		#if(x.onlyVarArgs)
 		#@newInvocationForOnlyVarArgs()
 		#else
@@ -35,7 +35,7 @@ public class #(name)#(classTypeVars) extends #(targetName)#(classTypeVars) {
 		#end
 		
 		inv.invoke();
-		#if (x.returnTypeName != "void")
+		#if (x.returnType != "void")
 		
 		return inv.getReturnValue();
 		#end