From 945108283e44177d5c9b5aad1ee1ad08e9f66899 Mon Sep 17 00:00:00 2001 From: Laramie Crocker Date: Wed, 15 Dec 2010 21:15:03 +0000 Subject: [PATCH] CSPACE-3332 --- .../org/collectionspace/services/common/ResourceBase.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/common/src/main/java/org/collectionspace/services/common/ResourceBase.java b/services/common/src/main/java/org/collectionspace/services/common/ResourceBase.java index fa3b2899f..0b268cf62 100644 --- a/services/common/src/main/java/org/collectionspace/services/common/ResourceBase.java +++ b/services/common/src/main/java/org/collectionspace/services/common/ResourceBase.java @@ -39,8 +39,6 @@ extends AbstractMultiPartCollectionSpaceResourceImpl { public static final String DELETE = "delete"; public static final String LIST = "list"; - public abstract String getPath(); - //FIXME retrieve client type from configuration final static ClientType CLIENT_TYPE = ServiceMain.getInstance().getClientType(); @@ -107,7 +105,7 @@ extends AbstractMultiPartCollectionSpaceResourceImpl { protected Response create(MultipartInput input, ServiceContext ctx) { try { DocumentHandler handler = createDocumentHandler(ctx); - UriBuilder path = UriBuilder.fromPath(getPath());//UriBuilder.fromResource(this.getClass()); + UriBuilder path = UriBuilder.fromResource(this.getClass()); return create(input, ctx, handler, path); //==> CALL implementation method, which subclasses may override. } catch (Exception e) { throw bigReThrow(e, ServiceMessages.CREATE_FAILED); -- 2.47.3