summaryrefslogtreecommitdiff
path: root/gnu/java/awt/java2d/LineSegment.java
diff options
context:
space:
mode:
authorRoman Kennke <roman@kennke.org>2006-07-27 15:39:41 +0000
committerRoman Kennke <roman@kennke.org>2006-07-27 15:39:41 +0000
commit6d1ae720c24d69f3eb923686102de34b3fcf6e9e (patch)
treea4b2ca5603b1433b6c0f3cff7e12955470b01ce9 /gnu/java/awt/java2d/LineSegment.java
parentf9680eba53633d4705d0e9a7d95e2b31808ccaf1 (diff)
downloadclasspath-6d1ae720c24d69f3eb923686102de34b3fcf6e9e.tar.gz
2006-07-27 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java (documentCV): Made field private. (bypass): Made field private. (bidiRoot): New field. (AbstractDocument): Initialize bidiRoot. (getBidiRootElement): Return bidiRoot. (getRootElements): Adjusted to also return the bidiRoot element. (BranchElement.startOffset): Removed unneeded field. (BranchElement.endOffset): Removed unneeded field. (BranchElement.BranchElement): Removed unneeded fields. (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is done automatically when there's no element left in the array. (BranchElement.getStartOffset): Likewise. (BranchElement.replace): Reordered calculations to avoid double calculations. (removeImpl): Silently ignore requests with length <= 0. * javax/swing/text/GapContent.java (createPosition): Removed explicit check for correct offset. This class can deal with offsets outside the document. (shiftEnd): Update all positions, even those outside the document. (adjustPositionsInRange): Fixed to also adjust positions outside the document boundary.
Diffstat (limited to 'gnu/java/awt/java2d/LineSegment.java')
0 files changed, 0 insertions, 0 deletions