mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve wall filter
This commit is contained in:
@@ -189,11 +189,11 @@ public final class DruidStatManagerFacade {
|
||||
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
public static Map mergWallStat(Map mapA, Map mapB) {
|
||||
if (mapA.size() == 0) {
|
||||
if (mapA == null || mapA.size() == 0) {
|
||||
return mapB;
|
||||
}
|
||||
|
||||
if (mapB.size() == 0) {
|
||||
if (mapB == null || mapB.size() == 0) {
|
||||
return mapA;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user