+* check preservation of newlines when exporting XML
+
* classpath uri resolver, class javadocs.
* APIs for Files in the XML parsing.
* API javadoc in general.
READ, WRITE, NONE;
public Object handleCase(LockingSwitch aSwitch) throws Throwable {
- //System.out.println("locking type:" + this);
switch (this) {
case READ: {
return aSwitch.readLock();
.writeLock();
// Read-write locking for the cache of locking types.
- private final ReentrantReadWriteLock cacheRwlock = new ReentrantReadWriteLock();
+ private final ReentrantReadWriteLock cacheRwlock = new ReentrantReadWriteLock(true);
private final ReentrantReadWriteLock.ReadLock cacheRlock = cacheRwlock.readLock();
private final ReentrantReadWriteLock.WriteLock cacheWlock = cacheRwlock
.writeLock();