Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Xenos2016-11-01 04:25:41 +0000
committerStefan Xenos2016-11-01 13:25:33 +0000
commit35dc5d75234efce06240f8d10e8c1f1b4b26b35b (patch)
treefeb3b96bd79d3c1081f6c12e7015e87c713af658
parent33dd333f5dd4acb546ec6f90087746cd71837bb0 (diff)
downloadrt.equinox.bundles-35dc5d75234efce06240f8d10e8c1f1b4b26b35b.tar.gz
rt.equinox.bundles-35dc5d75234efce06240f8d10e8c1f1b4b26b35b.tar.xz
rt.equinox.bundles-35dc5d75234efce06240f8d10e8c1f1b4b26b35b.zip
Bug 506217 - Delete SubMonitor.step
Add @noreference and @deprecated in preparation for deleting SubMonitor.step. Change-Id: If5dd27a37def8fad4b79c1a6eb80ed8a224f9805 Signed-off-by: Stefan Xenos <sxenos@gmail.com>
-rw-r--r--bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java
index 66e03756..e569d01d 100644
--- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java
+++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java
@@ -1020,6 +1020,8 @@ public final class SubMonitor implements IProgressMonitorWithBlocking {
* @param work a non-negative number of work units just completed
* @throws OperationCanceledException if the monitor has been cancelled
* @since 3.9
+ * @noreference This method is not intended to be referenced by clients.
+ * @deprecated Scheduled for deletion. Use {@link #split(int)} instead.
*/
public void step(int work) throws OperationCanceledException {
if (TracingOptions.debugProgressMonitors) {

Back to the top