coverity#1326552 Dereference before null check
Change-Id: I5a3fb6b5e9966a8e0c5dd0175e4f4f3292025a2c
This commit is contained in:
@@ -136,7 +136,7 @@ public class ParcelBrowseNode extends PropertySet implements
|
||||
}
|
||||
|
||||
public boolean hasChildNodes() {
|
||||
if (container != null && container.hasByName(getName()) && parcel != null) {
|
||||
if (container != null && parcel != null && container.hasByName(getName())) {
|
||||
return parcel.hasElements();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user