aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Attebrant2014-03-18 23:34:18 (EDT)
committerPaul Webster2014-03-18 23:51:57 (EDT)
commitdf720fb4cc0d9eeba938e935dde371769a332de7 (patch)
treed1d4138fb79a0c82895e93de2d0fb871f4c10d98
parent717af9bb1ae66fe4470935c17a4a3fb44b4fccf0 (diff)
downloadeclipse.platform.ui-df720fb4cc0d9eeba938e935dde371769a332de7.zip
eclipse.platform.ui-df720fb4cc0d9eeba938e935dde371769a332de7.tar.gz
eclipse.platform.ui-df720fb4cc0d9eeba938e935dde371769a332de7.tar.bz2
Bug 425962 - [New Contributors] Remove (non-Javadoc) @see statements ifrefs/changes/73/23573/3
@Override is used Change-Id: I02195bdfcb9d7a93402064362ce5cf3b8dc717f1 Signed-off-by: Fredrik Attebrant <fredrik.attebrant@gmail.com>
-rw-r--r--bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/legacy/EventLoopProgressMonitor.java40
1 files changed, 10 insertions, 30 deletions
diff --git a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/legacy/EventLoopProgressMonitor.java b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/legacy/EventLoopProgressMonitor.java
index 74e23a5..112bd66 100644
--- a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/legacy/EventLoopProgressMonitor.java
+++ b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/legacy/EventLoopProgressMonitor.java
@@ -57,42 +57,32 @@ public class EventLoopProgressMonitor extends ProgressMonitorWrapper implements
super(monitor);
}
- /**
- * @see IProgressMonitor#beginTask
- */
+ @Override
public void beginTask(String name, int totalWork) {
super.beginTask(name, totalWork);
taskName = name;
runEventLoop();
}
- /* (non-Javadoc)
- * @see org.eclipse.core.runtime.IProgressMonitorWithBlocking#clearBlocked()
- */
+ @Override
public void clearBlocked() {
Dialog.getBlockedHandler().clearBlocked();
}
- /**
- * @see IProgressMonitor#done
- */
+ @Override
public void done() {
super.done();
taskName = null;
runEventLoop();
}
- /**
- * @see IProgressMonitor#internalWorked
- */
+ @Override
public void internalWorked(double work) {
super.internalWorked(work);
runEventLoop();
}
- /**
- * @see IProgressMonitor#isCanceled
- */
+ @Override
public boolean isCanceled() {
runEventLoop();
return super.isCanceled();
@@ -139,34 +129,26 @@ public class EventLoopProgressMonitor extends ProgressMonitorWrapper implements
}
}
- /* (non-Javadoc)
- * @see org.eclipse.core.runtime.IProgressMonitorWithBlocking#setBlocked(org.eclipse.core.runtime.IStatus)
- */
+ @Override
public void setBlocked(IStatus reason) {
Dialog.getBlockedHandler().showBlocked(this, reason, taskName);
}
- /**
- * @see IProgressMonitor#setCanceled
- */
+ @Override
public void setCanceled(boolean b) {
super.setCanceled(b);
taskName = null;
runEventLoop();
}
- /**
- * @see IProgressMonitor#setTaskName
- */
+ @Override
public void setTaskName(String name) {
super.setTaskName(name);
taskName = name;
runEventLoop();
}
- /**
- * @see IProgressMonitor#subTask
- */
+ @Override
public void subTask(String name) {
//Be prepared in case the first task was null
if (taskName == null) {
@@ -176,9 +158,7 @@ public class EventLoopProgressMonitor extends ProgressMonitorWrapper implements
runEventLoop();
}
- /**
- * @see IProgressMonitor#worked
- */
+ @Override
public void worked(int work) {
super.worked(work);
runEventLoop();