-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b78
-
x86
-
windows_xp
A DESCRIPTION OF THE PROBLEM :
The method description for javax.swing.SwingWorker.cancel(...) says:
This attempt will fail if the task has already completed, already been
cancelled, or could not be cancelled for some other reason.
(Note that the "or" phrase is not parallel. (As written, the phrase expands
to:
- "has already completed"
- "has already been cancelled" or
- "has could not be cancelled"
The text should be adjusted to something like:
This attempt will fail if the task has already completed or already been
cancelled, or could not be cancelled for some other reason.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
see Description
ACTUAL -
see Description
URL OF FAULTY DOCUMENTATION :
.../api/javax/swing/SwingWorker.html
The method description for javax.swing.SwingWorker.cancel(...) says:
This attempt will fail if the task has already completed, already been
cancelled, or could not be cancelled for some other reason.
(Note that the "or" phrase is not parallel. (As written, the phrase expands
to:
- "has already completed"
- "has already been cancelled" or
- "has could not be cancelled"
The text should be adjusted to something like:
This attempt will fail if the task has already completed or already been
cancelled, or could not be cancelled for some other reason.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
see Description
ACTUAL -
see Description
URL OF FAULTY DOCUMENTATION :
.../api/javax/swing/SwingWorker.html