Le document suivant contient les résultats de l'inspection CPD CPD 6.13.0.
Fichier | Ligne |
---|---|
fr/paris/lutece/plugins/extend/modules/opengraph/web/OpengraphJspBean.java | 210 |
fr/paris/lutece/plugins/extend/modules/opengraph/web/OpengraphJspBean.java | 315 |
if ( !RBACService.isAuthorized( OpengraphSocialHub.RESOURCE_TYPE, null, OpengraphResourceIdService.PERMISSION_ADD_SOCIALHUB, AdminUserService.getAdminUser( request ) ) ) { return AdminMessageService.getMessageUrl( request, MESSAGE_UNAUTHORIZED_ACTION, AdminMessage.TYPE_STOP ); } String strName = request.getParameter( PARAM_NAME ); if ( StringUtils.isBlank( strName ) ) { return AdminMessageService.getMessageUrl( request, MESSAGE_MANDATORY_FIELDS, AdminMessage.TYPE_STOP ); } String strContentHeader = request.getParameter( PARAM_CONTENT_HEADER ); String strContentBody = request.getParameter( PARAM_CONTENT_BODY ); if ( StringUtils.isBlank( strContentBody ) ) { return AdminMessageService.getMessageUrl( request, MESSAGE_MANDATORY_FIELDS, AdminMessage.TYPE_STOP ); } String strContentFooter = request.getParameter( PARAM_CONTENT_FOOTER ); |