Changeset 11511


Ignore:
Timestamp:
2006-03-28T13:05:20+12:00 (18 years ago)
Author:
shaoqun
Message:

check job_queues size again in run method

File:
1 edited

Legend:

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

    r11509 r11511  
    270270            // Get the first job that isn't stopped.       
    271271            synchronized(job_queue){
     272            if (job_queue.size() <= 0 || index >= job_queue.size()) break;
    272273            job = (DownloadJob) job_queue.get(index);
    273274            if(job.getState() == DownloadJob.RUNNING) {
Note: See TracChangeset for help on using the changeset viewer.