Changeset 17838


Ignore:
Timestamp:
11/12/08 16:09:49 (12 years ago)
Author:
ak19
Message:

Job is no longer set to null in deleteDownloadJob. That's only done in the run method of this DownloadScrollPane thread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/download/DownloadScrollPane.java

    r17773 r17838  
    9191        } catch (Exception e) {
    9292        e.printStackTrace();
    93         }
    94        
    95         setJobToNull();//job = null;
    96        
     93        }       
    9794    }
    9895    // Get rid of this download's dedicated pane
    9996    finishedDownloadJob(delete_me);
    10097    }
    101 
    102     synchronized protected void setJobToNull() { job = null; } 
    10398
    10499    /** To be called when a download job has terminated naturally or was prematurely stopped
     
    215210            DebugStream.println("DownloadJob " + jobDisplayString + " Begun.");
    216211            System.err.println("DownloadJob " + job.port + " " + job.toString() + " Begun.");
    217             if(job != null) {
    218                 job.callDownload();
    219             }
     212            job.callDownload();
    220213            finishedDownloadJob(delete_me); // Job is done, get rid of the separate display panel for this download
    221214            System.err.println("DownloadJob " + jobDisplayString + " complete.");
Note: See TracChangeset for help on using the changeset viewer.