-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
b28
-
sparc
-
solaris_7
Name: ssR10000 Date: 04/14/2003
The spec for BranchElement.getEndOffset() reads:
----------------- J2SE API v1.4 v1.5 -----------------
public int getEndOffset()
Gets the ending offset in the model for the element.
Specified by:
getEndOffset in interface Element
Specified by:
getEndOffset in class AbstractDocument.AbstractElement
Returns:
the offset >= 0
-------------------------------------------------------
There is no words about what should happen if object did not have any children.
Before it throws ArrayOutOfBounds but now it is NullPointerException -
Could you please reflect correct one in the spec?
======================================================================
The spec for BranchElement.getEndOffset() reads:
----------------- J2SE API v1.4 v1.5 -----------------
public int getEndOffset()
Gets the ending offset in the model for the element.
Specified by:
getEndOffset in interface Element
Specified by:
getEndOffset in class AbstractDocument.AbstractElement
Returns:
the offset >= 0
-------------------------------------------------------
There is no words about what should happen if object did not have any children.
Before it throws ArrayOutOfBounds but now it is NullPointerException -
Could you please reflect correct one in the spec?
======================================================================