Fixed failing test in AVMServiceTest.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6045 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park 2007-06-20 22:30:14 +00:00
parent af8c77753f
commit b45b923c97

View File

@ -85,6 +85,8 @@ public class AVMUndoSandboxListAction extends ActionExecuterAbstractBase
}
final Map<QName, PropertyValue> dnsProperties = fAVMService.queryStorePropertyKey(item.getSecond().split(":")[0], QName.createQName(null, ".dns%"));
if (dnsProperties.size() == 1)
{
String webProject = dnsProperties.keySet().iterator().next().getLocalName();
webProject = webProject.substring(webProject.lastIndexOf('.') + 1, webProject.length());
String path = item.getSecond().substring(item.getSecond().indexOf(":") + 1);
@ -101,6 +103,7 @@ public class AVMUndoSandboxListAction extends ActionExecuterAbstractBase
}
}
}
}
/* (non-Javadoc)
* @see org.alfresco.repo.action.ParameterizedItemAbstractBase#addParameterDefinitions(java.util.List)