Merge
r8408, hengsin, 2009-02-11 Log Message: ----------- minor - avoid potential NPE.
This commit is contained in:
parent
33205ec45b
commit
9eb1c3cf36
|
@ -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())
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue