From: Aron Roberts Date: Mon, 2 May 2011 22:52:21 +0000 (+0000) Subject: NOJIRA: Fixed trivial typo in response message when a required CSID is missing in... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=846b421ed448e992fc12b9b05086b2d74a60c0b3;p=tmp%2Fjakarta-migration.git NOJIRA: Fixed trivial typo in response message when a required CSID is missing in the request. --- 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 08dfa1c4a..ebe4445ac 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 @@ -82,7 +82,7 @@ public abstract class ResourceBase } if (csid == null || "".equals(csid)) { logger.error(crudType + " for " + getClass().getName() + " missing csid!"); - Response response = Response.status(Response.Status.BAD_REQUEST).entity("update failed on " + getClass().getName() + " csid=" + csid).type("text/plain").build(); + Response response = Response.status(Response.Status.BAD_REQUEST).entity(crudType + " failed on " + getClass().getName() + " csid=" + csid).type("text/plain").build(); throw new WebApplicationException(response); } }