Bug 75689 [Progress] Progress bar does not work while creating patch
Using build I200410050800. While creating a patch file, progress is always empty even if the cvs diff takes a long time. Seem to be a regression as it worked with M2...
bundles/org.eclipse.jface/src/org/eclipse/jface/operation/AccumulatingProgressMonitor.java
getWrappedProgressMonitor().beginTask(name, totalWork);
            }
        });
    }
    /**
     * Clears the collector object used to accumulate work and subtask calls
     * if it matches the given one.
     * @param collectorToClear
     */
    private synchronized void clearCollector(Collector collectorToClear) {
        
        
        if (this.collector == collectorToClear)
            this.collector = null;
    }
    /**
     *  Creates a collector object to accumulate work and subtask calls.
     * @param subTask
     * @param work
     */
    private void createCollectorIfRequired(String subTask, double work) {
    	boolean newCollector = false;
    	synchronized (this) {
    		if(collector == null)
    			collector = new Collector(subTask, work, getWrappedProgressMonitor());
		}
        
    	if(newCollector)
    		display.asyncExec(collector);
    }