framework/application/kernel/mem/src/main/java/org/ldp4j/application/kernel/impl/InMemoryEndpointRepository.java
@Override
	public Endpoint endpointOfResource(ResourceId id) {
		this.readLock.lock();
		try {
			Endpoint endpoint = this.endpointsByResourceName.get(id);
			if(endpoint!=null && endpoint.deleted()!=null) {
				endpoint=null;
			}
			return endpoint;
		} finally {
			this.readLock.unlock();
		}
	}
@Override
	public Endpoint endpointOfResource(ResourceId id) {
		this.readLock.lock();
		try {
			Endpoint endpoint = this.endpointsByResourceName.get(id);
			if(endpoint!=null && endpoint.deleted()!=null) {
				endpoint=null;
			}
			return endpoint;
		} finally {
			this.readLock.unlock();
		}
	}
{@inheritDoc}