r8408, hengsin, 2009-02-11

Log Message:
-----------
minor - avoid potential NPE.
This commit is contained in:
Heng Sin Low 2009-02-11 08:13:17 +00:00
parent 33205ec45b
commit 9eb1c3cf36
1 changed files with 2 additions and 1 deletions

View File

@ -368,6 +368,7 @@ public abstract class InfoPanel extends Window implements EventListener, WTableM
*/
protected void executeQuery()
{
line = new Vector<Object>();
if (!testCount())
{
return ;
@ -394,7 +395,7 @@ public abstract class InfoPanel extends Window implements EventListener, WTableM
log.fine("Start query - " + (System.currentTimeMillis()-start) + "ms");
m_rs = m_pstmt.executeQuery();
log.fine("End query - " + (System.currentTimeMillis()-start) + "ms");
line = new Vector<Object>();
while (m_rs.next())
{