|
|
@ -205,13 +205,8 @@ public class Criteria { |
|
|
|
} else if (CriteriaType.TYPE.equals(key)) { |
|
|
|
} else if (CriteriaType.TYPE.equals(key)) { |
|
|
|
|
|
|
|
|
|
|
|
Class<?> exp = (Class<?>) expectedVal; |
|
|
|
Class<?> exp = (Class<?>) expectedVal; |
|
|
|
Class<?> act = null; |
|
|
|
Class<?> act = actualVal == null ? null : actualVal.getClass(); |
|
|
|
if (map.containsKey(this.key)) { |
|
|
|
|
|
|
|
Object actVal = map.get(this.key); |
|
|
|
|
|
|
|
if (actVal != null) { |
|
|
|
|
|
|
|
act = actVal.getClass(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (act == null) { |
|
|
|
if (act == null) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|