Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-12-09 20:31:06 +0000
committerEike Stepper2008-12-09 20:31:06 +0000
commit900a468d5b2ccf698cb59a044560a5dccedfc8db (patch)
treef0add2f36c3ceaf28fbe80e72b02b04651af2667 /plugins/org.eclipse.net4j.examples
parent08681fa281ebdd9f044acd19bc60611ec4825310 (diff)
downloadcdo-900a468d5b2ccf698cb59a044560a5dccedfc8db.tar.gz
cdo-900a468d5b2ccf698cb59a044560a5dccedfc8db.tar.xz
cdo-900a468d5b2ccf698cb59a044560a5dccedfc8db.zip
[258067] Provide RequestWithMonitoring example
https://bugs.eclipse.org/bugs/show_bug.cgi?id=258067
Diffstat (limited to 'plugins/org.eclipse.net4j.examples')
-rw-r--r--plugins/org.eclipse.net4j.examples/src/org/eclipse/net4j/examples/transfer/UploadClientAction.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.net4j.examples/src/org/eclipse/net4j/examples/transfer/UploadClientAction.java b/plugins/org.eclipse.net4j.examples/src/org/eclipse/net4j/examples/transfer/UploadClientAction.java
index 8c0a7e56c8..ad24b33d53 100644
--- a/plugins/org.eclipse.net4j.examples/src/org/eclipse/net4j/examples/transfer/UploadClientAction.java
+++ b/plugins/org.eclipse.net4j.examples/src/org/eclipse/net4j/examples/transfer/UploadClientAction.java
@@ -110,8 +110,7 @@ public class UploadClientAction implements IWorkbenchWindowActionDelegate, Uploa
protocol.open(connector);
UploadRequest request = new UploadRequest(protocol, file);
- EclipseMonitor e = new EclipseMonitor(monitor);
- return request.send(e);
+ return request.send(new EclipseMonitor(monitor));
}
finally
{

Back to the top