Kaydet (Commit) 4e6f348e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326562 Dereference before null check

Change-Id: I3f24c355e57fddf36e5af141bf10d43e72257f4f
üst 199fd5ce
...@@ -42,9 +42,7 @@ public class _XLinkTargetSupplier extends MultiMethodTest { ...@@ -42,9 +42,7 @@ public class _XLinkTargetSupplier extends MultiMethodTest {
public void _getLinks() { public void _getLinks() {
XNameAccess links = oObj.getLinks(); XNameAccess links = oObj.getLinks();
links.getElementNames(); links.getElementNames();
tRes.tested("getLinks()", links != null); tRes.tested("getLinks()", true);
} }
} }
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