Author: jflesch
Date: 2008-01-27 12:13:14 +0000 (Sun, 27 Jan 2008)
New Revision: 17315
Modified:
trunk/apps/Thaw/src/thaw/plugins/queueWatcher/QueueTableModel.java
Log:
Fix an NPE in QueueWatcher ...
Modified: trunk/apps/Thaw/src/thaw/plugins/queueWatcher/QueueTableModel.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/queueWatcher/QueueTableModel.java
2008-01-27 12:11:50 UTC (rev 17314)
+++ trunk/apps/Thaw/src/thaw/plugins/queueWatcher/QueueTableModel.java
2008-01-27 12:13:14 UTC (rev 17315)
@@ -367,7 +367,7 @@
if (o instanceof FCPTransferQuery
&& queries.indexOf(o) >= 0
&& ((FCPTransferQuery)o).isFinished()
- && !(arg instanceof Long /* update of the total time/ETA
*/)) {
+ && (arg == null || !(arg instanceof Long /* update of the
total time/ETA */)) ) {
String str = null;