Ignore:
Timestamp:
08/18/14 14:22:07 (10 years ago)
Author:
olhsha@mpi.nl
Message:

Unit test for getting comments of profiles and components from groups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestService.java

    r5556 r5560  
    524524        LOG.debug("Comments of component with id {} are requested.", commentId);
    525525        try {
    526 
    527             return this.getBaseRegistry().getSpecifiedCommentInComponent(componentId, commentId);
     526            Comment result = this.getBaseRegistry().getSpecifiedCommentInComponent(componentId, commentId);
     527            return result;
    528528        } catch (ComponentRegistryException e) {
    529529            response.sendError(Status.INTERNAL_SERVER_ERROR.getStatusCode(), e.getMessage());
Note: See TracChangeset for help on using the changeset viewer.