commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath javax/swing/text/GapContent.java ./Ch...


From: Roman Kennke
Subject: [commit-cp] classpath javax/swing/text/GapContent.java ./Ch...
Date: Wed, 17 May 2006 16:28:34 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <address@hidden>   06/05/17 16:28:34

Modified files:
        javax/swing/text: GapContent.java 
        .              : ChangeLog 

Log message:
        2006-05-17  Roman Kennke <address@hidden>
        
        PR 26368
        * javax/swing/text/GapContent.java
        (GapContentPosition): Do no more implement Comparable.
        (GapContentPosition.mark): Removed field.
        (GapContentPosition.index): New field to hold the index into
        the positions array.
        (GapContentPosition(int)): Rewritten to use the new indirection
        to the positions array.
        (GapContentPosition.compareTo): Removed.
        (GapContentPosition.getOffset): Synchronized. Fetch mark from
        positionMarks array.
        (WeakPositionComparator): Removed obsolete class.
        (positions): Changed type to WeakHashMap.
        (positionMarks): New field, holds the marks of the positions.
        (GapContent): Initialize new fields.
        (createPosition): Rewritten to use the new indirection
        to the positions array.
        (getPositionsInRange): Rewritten to use the new indirection
        to the positions array.
        (setPositionsInRange): Rewritten to use the new indirection
        to the positions array.
        (adjustPositionsInRange): Rewritten to use the new indirection
        to the positions array.
        (insertMark): New helper method.
        (clearPositionReferences): Removed obsolete methods.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/GapContent.java.diff?tr1=1.46&tr2=1.47&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7458&tr2=1.7459&r1=text&r2=text




reply via email to

[Prev in Thread] Current Thread [Next in Thread]