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");
* you may not use this file except in compliance with the License.
@@ -87,6 +87,9 @@ public abstract class MethodKeyBuilder {
if (type != null) {
hash ^= type.getName().hashCode();
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];
if (type != null) {
hash = fnv1a64(hash, type.getName());
} else {
hash = fnv1a64(hash, "null");
}
}
}