@Override
	public Resource resourceOfId(ResourceId id) {
		lock.readLock().lock();
		try {
			return resources.get(id);
		} finally {
			lock.readLock().unlock();
		}
	}
@Override
	public Resource resourceOfId(ResourceId id) {
		lock.readLock().lock();
		try {
			return resources.get(id);
		} finally {
			lock.readLock().unlock();
		}
	}
@ Override public Resource resourceOfId ( ResourceId id ) { lock . readLock ( ) . lock ( ) ; try { return resources . get ( id ) ; } finally { lock . readLock ( ) . unlock ( ) ; } }
{@inheritDoc}
{