import javax.servlet.http.HttpServletRequest;</BUG>
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ResourceResolver;
public class WorkspaceResourceResolver implements ResourceResolver {
<BUG>private ResourceResolver delegate;

private String workspaceName;

public WorkspaceResourceResolver(ResourceResolver delegate, String workspaceName) {
this.delegate = delegate;
this.workspaceName = workspaceName;
</BUG>
}

package org.apache.sling.servlets.resolver.internal;
import java.util.Iterator;
import java.util.Map;
import javax.jcr.Session;
import javax.servlet.http.HttpServletRequest;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ResourceResolver;
public class WorkspaceResourceResolver implements ResourceResolver {
private final ResourceResolver delegate;
private final String workspaceName;
public WorkspaceResourceResolver(ResourceResolver delegate) {
this.delegate = delegate;
this.workspaceName = getWorkspaceName(delegate);
}
