enjoy 3.4 release ^_^

This commit is contained in:
James 2018-04-25 22:09:05 +08:00
parent a1e88a4a4c
commit 0c3e7790b7
116 changed files with 129 additions and 121 deletions

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -113,9 +113,9 @@ public class Field extends Expr {
if (expr instanceof Id) { if (expr instanceof Id) {
String id = ((Id)expr).getId(); String id = ((Id)expr).getId();
throw new TemplateException("Field not found: \"" + id + "." + fieldName + "\" and getter method not found: \"" + id + "." + getterName + "()\"", location); throw new TemplateException("public field not found: \"" + id + "." + fieldName + "\" and public getter method not found: \"" + id + "." + getterName + "()\"", location);
} }
throw new TemplateException("Field not found: \"" + fieldName + "\" and getter method not found: \"" + getterName + "()\"", location); throw new TemplateException("public field not found: \"" + fieldName + "\" and public getter method not found: \"" + getterName + "()\"", location);
} }
private Long buildFieldKey(Class<?> targetClass) { private Long buildFieldKey(Class<?> targetClass) {

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -75,7 +75,7 @@ public class Method extends Expr {
if (scope.getCtrl().isNullSafe()) { if (scope.getCtrl().isNullSafe()) {
return null; return null;
} }
throw new TemplateException(buildMethodNotFoundSignature("Method not found: " + target.getClass().getName() + ".", methodName, argValues), location); throw new TemplateException(buildMethodNotFoundSignature("public method not found: " + target.getClass().getName() + ".", methodName, argValues), location);
} }
try { try {

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -87,6 +87,9 @@ public abstract class MethodKeyBuilder {
if (type != null) { if (type != null) {
hash ^= type.getName().hashCode(); hash ^= type.getName().hashCode();
hash *= HashKit.FNV_PRIME_64; hash *= HashKit.FNV_PRIME_64;
} else {
hash ^= "null".hashCode();
hash *= HashKit.FNV_PRIME_64;
} }
} }
} }
@ -110,6 +113,8 @@ public abstract class MethodKeyBuilder {
Class<?> type = argTypes[i]; Class<?> type = argTypes[i];
if (type != null) { if (type != null) {
hash = fnv1a64(hash, type.getName()); hash = fnv1a64(hash, type.getName());
} else {
hash = fnv1a64(hash, "null");
} }
} }
} }

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -156,6 +156,9 @@ public class SharedMethodKit {
if (type != null) { if (type != null) {
hash ^= type.getName().hashCode(); hash ^= type.getName().hashCode();
hash *= HashKit.FNV_PRIME_64; hash *= HashKit.FNV_PRIME_64;
} else {
hash ^= "null".hashCode();
hash *= HashKit.FNV_PRIME_64;
} }
} }
} }

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -70,7 +70,7 @@ public class RenderDirective extends Directive {
if (len > 1) { if (len > 1) {
for (int i = 1; i < len; i++) { for (int i = 1; i < len; i++) {
if (!(exprList.getExpr(i) instanceof Assign)) { if (!(exprList.getExpr(i) instanceof Assign)) {
throw new ParseException("The " + i + "th parameter of #render directive must be an assignment expression", location); throw new ParseException("The " + (i + 1) + "th parameter of #render directive must be an assignment expression", location);
} }
} }
} }

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/** /**
* Copyright (c) 2011-2017, James Zhan 詹波 (jfinal@126.com). * Copyright (c) 2011-2019, James Zhan 詹波 (jfinal@126.com).
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

Some files were not shown because too many files have changed in this diff Show More