@ReturnType("eu.europeana.cloud.common.response.RepresentationRevisionResponse")
public RepresentationRevisionResponse getRepresentationRevision(@Context UriInfo uriInfo,
@PathParam(P_CLOUDID) String globalId,
@PathParam(P_REPRESENTATIONNAME) String schema,
@PathParam(REVISION_NAME) String revisionName,
<BUG>@NotNull @QueryParam(REVISION_PROVIDER_ID) String revisionProviderId,
@QueryParam(REVISION_TIMESTAMP) String revisionTimestamp)

throws RevisionNotExistsException {
Date revisionDate = null;</BUG>
if (revisionTimestamp != null) {

@ReturnType("eu.europeana.cloud.common.response.RepresentationRevisionResponse")
public RepresentationRevisionResponse getRepresentationRevision(@Context UriInfo uriInfo,
@PathParam(P_CLOUDID) String globalId,
@PathParam(P_REPRESENTATIONNAME) String schema,
@PathParam(REVISION_NAME) String revisionName,
@QueryParam(REVISION_PROVIDER_ID) String revisionProviderId,
@QueryParam(REVISION_TIMESTAMP) String revisionTimestamp) {
if (revisionProviderId == null) {
throw new WebApplicationException(Response.status(Response.Status.BAD_REQUEST)
.entity(new ErrorInfo("OTHER", REVISION_PROVIDER_ID + " parameter cannot be empty."))
.build());
}
Date revisionDate = null;
if (revisionTimestamp != null) {
