1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-01 21:35:40 +02:00

JavaDoc enhancement

This commit is contained in:
John Cortell 2009-09-21 15:01:16 +00:00
parent b2657f30a6
commit 38631986c6

View file

@ -253,11 +253,12 @@ public class RequestMonitor extends DsfExecutable {
return "RequestMonitor (" + super.toString() + "): " + getStatus().toString(); //$NON-NLS-1$ //$NON-NLS-2$ return "RequestMonitor (" + super.toString() + "): " + getStatus().toString(); //$NON-NLS-1$ //$NON-NLS-2$
} }
/** /**
* Checks whether the given request monitor completed with success or * Checks whether the given request monitor completed with success or
* failure result. If the request monitor was canceled it is considered * failure result. If the request monitor was canceled it is considered a
* that it failed, regardless of the status. * failure, regardless of the status. If the status has a severity higher
*/ * than INFO (i.e., WARNING, ERROR or CANCEL), it is considered a failure.
*/
public boolean isSuccess() { public boolean isSuccess() {
return !isCanceled() && getStatus().getSeverity() <= IStatus.INFO; return !isCanceled() && getStatus().getSeverity() <= IStatus.INFO;
} }