private final NoSqlAdapter adapter;
private final EventAdmin eventAdmin;
private final Map<String, NoSqlData> changedResources = new HashMap<String, NoSqlData>();
private final Set<String> deletedResources = new HashSet<String>();
public NoSqlResourceProvider(NoSqlAdapter adapter, EventAdmin eventAdmin) {
<BUG>this.adapter = adapter;
this.eventAdmin = eventAdmin;</BUG>
}
public Resource getResource(ResourceResolver resourceResolver, String path) {
if (ROOT_PATH.equals(path)) {

private final NoSqlAdapter adapter;
private final EventAdmin eventAdmin;
private final Map<String, NoSqlData> changedResources = new HashMap<String, NoSqlData>();
private final Set<String> deletedResources = new HashSet<String>();
public NoSqlResourceProvider(NoSqlAdapter adapter, EventAdmin eventAdmin) {
this.adapter = new ValueMapConvertingNoSqlAdapter(adapter);
this.eventAdmin = eventAdmin;
}
public Resource getResource(ResourceResolver resourceResolver, String path) {
if (ROOT_PATH.equals(path)) {
