}
private Resource getResourceEditorResourceWrapper(Resource resource, String resolutionPathInfo) {
Resource result = null;
if (resolutionPathInfo != null && resolutionPathInfo.endsWith("." + RESEDITOR_SELECTOR + ".html")) {
result = new ResourceWrapper(resource) {
@Override
public String getResourceType() {
/*
* It overwrites the resource types to avoid that the servlet
* resource types have a higher priority then the