mirror of https://github.com/apache/cloudstack.git
CID-1211005: Fix comparison, Class<?> is always instance of Class
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
b3946802e3
commit
59482b3eba
|
|
@ -301,7 +301,7 @@ public class ActionEventUtils {
|
|||
try{
|
||||
Object key = entry.getKey();
|
||||
Class<?> clz = Class.forName((String)key);
|
||||
if(clz instanceof Class && Identity.class.isAssignableFrom(clz)){
|
||||
if(clz != null && Identity.class.isAssignableFrom(clz)){
|
||||
String uuid = getEntityUuid(clz, entry.getValue());
|
||||
eventDescription.put(ReflectUtil.getEntityName(clz), uuid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue