Le document suivant contient les résultats de l'inspection CPD CPD 6.13.0.
Fichier | Ligne |
---|---|
fr/paris/lutece/plugins/progressmanager/rs/ProgressFeedRest.java | 88 |
fr/paris/lutece/plugins/progressmanager/rs/ProgressFeedRest.java | 132 |
fr/paris/lutece/plugins/progressmanager/rs/ProgressFeedRest.java | 176 |
private Response getProgressFeedV1( String strId ) { ProgressManagerService _service = ProgressManagerService.getInstance( ); if ( _service == null || !_service.isRegistred( strId ) ) { _logger.error( Constants.ERROR_NOT_FOUND_RESOURCE ); return Response.status( Response.Status.NOT_FOUND ) .entity( JsonUtil.buildJsonResponse( new ErrorJsonResponse( Response.Status.NOT_FOUND.name( ), Constants.ERROR_NOT_FOUND_RESOURCE ) ) ) .build( ); } return Response.status( Response.Status.OK ) .entity( JsonUtil.buildJsonResponse( new JsonResponse( ProgressManagerService.getInstance( ).getProgressStatus( strId ) ) ) ).build( ); |