Skip to content

Commit

Permalink
removing a comment (#9763)
Browse files Browse the repository at this point in the history
  • Loading branch information
landreev committed Sep 6, 2023
1 parent 7b1e799 commit fd30fd5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/edu/harvard/iq/dataverse/api/Datasets.java
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@ public Response listVersions(@Context ContainerRequestContext crc, @PathParam("i
@Path("{id}/versions/{versionId}")
public Response getVersion(@Context ContainerRequestContext crc, @PathParam("id") String datasetId, @PathParam("versionId") String versionId, @QueryParam("includeFiles") Boolean includeFiles, @Context UriInfo uriInfo, @Context HttpHeaders headers) {
return response( req -> {
// @todo: consider using DatasetVersionServiceBean.findDeep() here 
DatasetVersion dsv = getDatasetVersionOrDie(req, versionId, findDatasetOrDie(datasetId), uriInfo, headers);

if (dsv == null || dsv.getId() == null) {
Expand Down

0 comments on commit fd30fd5

Please sign in to comment.