minor - typo in SubMonitor JavaDoc
Also add an escaped @ character in the JavaDoc's example.
Change-Id: I974e9cdafc2485705d81309484f23c0ae9338f65
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
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 77aeb23..5b72ed2 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
@@ -29,7 +29,7 @@
* <li>It is not necessary to call beginTask() or done() on an instance of SubMonitor.</li>
* <li>SubMonitor has a simpler syntax for creating nested monitors.</li>
* <li>SubMonitor is more efficient for deep recursion chains.</li>
- * <li>SubMonitor has a setWorkRemining method that allows the remaining space on the monitor to be
+ * <li>SubMonitor has a setWorkRemaining method that allows the remaining space on the monitor to be
* redistributed without reporting any work.</li>
* <li>SubMonitor protects the caller from common progress reporting bugs in a called method. For example,
* if a called method fails to call done() on the given monitor or fails to consume all the ticks on
@@ -57,7 +57,7 @@
* necessary to call <code>monitor.done()</code>. The JavaDoc contract makes this the responsibility of the caller.</p>
*
* <pre>
- * // param monitor the progress monitor to use for reporting progress to the user. It is the caller's responsibility
+ * // {@literal @}param monitor the progress monitor to use for reporting progress to the user. It is the caller's responsibility
* // to call done() on the given monitor. Accepts <code>null</code>, indicating that no progress should be
* // reported and that the operation cannot be cancelled.
* //