diff options
author | Roman Kennke <roman@kennke.org> | 2006-11-20 10:51:37 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2006-11-20 10:51:37 +0000 |
commit | 306331a3743616637d2c42b7a830a9853f2c1488 (patch) | |
tree | 20d4258399cb5780177367b725abad1f686cbe57 /javax/management | |
parent | b4a86c0172ed4e2a8a49cb7d1d9f33c1fbae2c50 (diff) | |
download | classpath-306331a3743616637d2c42b7a830a9853f2c1488.tar.gz |
2006-11-20 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(DefaultDocumentEvent.changes): Changed to be a HashMap.
(DefaultDocumentEvent.modified): Made private.
(DefaultDocumentEvent.THRESHOLD): New constant field.
(DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
changes table.
(DefaultDocumentEvent.addEdit): Switch to hashmap only when
exceeding threshold.
(DefaultDocumentEvent.getChange): Use iterative approach
when we have no hashmap yet.
(documentCV): Removed.
(numWriters): Renamed from numWritersWaiting.
(createPosition): Reformat.
(getCurrentWriter): Synchronized.
(readLock): Implement more straightforward.
(readUnlock): Implement more straightforward.
(writeLock): Implement more straightforward.
(writeUnlock): Implement more straightforward.
(remove): Write-lock here.
(removeImpl): Don't write-lock here.
Diffstat (limited to 'javax/management')
0 files changed, 0 insertions, 0 deletions