-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 1.2.0
-
Component/s: docs
-
1.2.2
-
sparc
-
solaris_2.5
Name: sdC67446 Date: 05/15/98
The spec for methods
java.awt.dnd.DragSourceContext.addDragSourceListener(DragSourceListner dsl)
and removeDragSourceListener(DragSourceListener dsl) does not specify
behavior if parameter dsl == null.
Also it is unspecified the behavior of addDragSourceListener(DragSourceListener)
if listener already added.
Currently both methods ignore null parameter.
Here is what doc says:
--------------------------------------------------
public void addDragSourceListener(DragSourceListener dsl)
throws TooManyListenersException
change the DragSourceListener
public void removeDragSourceListener(DragSourceListener dsl)
change the DragSourceListener
--------------------------------------------------
======================================================================