Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2008-10-03 15:49:41 -0400
committerPascal Rapicault2008-10-03 15:49:41 -0400
commit811213ddbbdb799c992e0d19ad52cabdb2701766 (patch)
tree260efe3f54b9f619f5475a9d33a69e70e9306212 /bundles/org.eclipse.equinox.p2.directorywatcher
parent1bc38fc40c1febfb0aacc8ece5bf88a63a65ee9a (diff)
downloadrt.equinox.p2-811213ddbbdb799c992e0d19ad52cabdb2701766.tar.gz
rt.equinox.p2-811213ddbbdb799c992e0d19ad52cabdb2701766.tar.xz
rt.equinox.p2-811213ddbbdb799c992e0d19ad52cabdb2701766.zip
Bug 225324 - [updateSite] Need to add progress monitoring.v20081007
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.directorywatcher')
-rw-r--r--bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java
index e594b17e8..cc9d31f62 100644
--- a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java
+++ b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/RepositoryListener.java
@@ -14,8 +14,7 @@ import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.*;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
+import org.eclipse.core.runtime.*;
import org.eclipse.equinox.internal.p2.core.helpers.LogHelper;
import org.eclipse.equinox.internal.provisional.p2.artifact.repository.*;
import org.eclipse.equinox.internal.provisional.p2.core.ProvisionException;
@@ -177,7 +176,7 @@ public class RepositoryListener extends DirectoryChangeListener {
private boolean publish(IPublisherAction action, boolean isAddition) {
IPublisherResult result = isAddition ? iusToAdd : iusToChange;
- return action.perform(info, result).isOK();
+ return action.perform(info, result, new NullProgressMonitor()).isOK();
}
public boolean isInterested(File file) {

Back to the top