Kaydet (Commit) 0f365681 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326301 Explicit null dereferenced

and

coverity#1326561 Dereference before null check

Change-Id: I53d1e99ee05dd8d32a7fadc870344391647f3b9d
üst b7d32843
...@@ -58,11 +58,12 @@ public class _XTablesSupplier extends MultiMethodTest { ...@@ -58,11 +58,12 @@ public class _XTablesSupplier extends MultiMethodTest {
(XServiceInfo.class, tabs.getByName(tabNames[0])) ; (XServiceInfo.class, tabs.getByName(tabNames[0])) ;
} catch (com.sun.star.uno.Exception e) {} } catch (com.sun.star.uno.Exception e) {}
log.println("Support : " + if (info != null) {
info.supportsService("com.sun.star.sdbcx.Table")) ; log.println("Support : " +
info.supportsService("com.sun.star.sdbcx.Table")) ;
}
tRes.tested("getTables()", tabs != null) ; tRes.tested("getTables()", info != null) ;
} }
} // finish class _XTablesSupplier } // finish class _XTablesSupplier
......
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