Kaydet (Commit) 585757d3 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326240 Explicit null dereferenced

Change-Id: Ic84b5fbff0fbd7b8a750a7e40f2dffafe868b5d5
üst f1e4e73d
......@@ -145,8 +145,13 @@ public class ProviderBrowseNode extends PropertySet implements
result = false;
}
LogUtils.DEBUG("***** ProviderBrowseNode.hasChildNodes(): " + "name=" + name +
if (container == null) {
LogUtils.DEBUG("***** ProviderBrowseNode.hasChildNodes(): " + "name=" + name +
", path=<none>, result=" + result);
} else {
LogUtils.DEBUG("***** ProviderBrowseNode.hasChildNodes(): " + "name=" + name +
", path=" + container.getParcelContainerDir() + ", result=" + result);
}
return result;
}
......@@ -256,4 +261,4 @@ public class ProviderBrowseNode extends PropertySet implements
public boolean hasProperty(String aName) {
return false;
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment