Fork me on GitHub

Résultats CPD

Le document suivant contient les résultats de l'inspection CPD CPD 6.13.0.

Duplicatas

Fichier Ligne
fr/paris/lutece/plugins/extend/modules/comment/business/config/CommentExtenderConfigDAO.java 61
fr/paris/lutece/plugins/extend/modules/comment/business/config/CommentExtenderConfigDAO.java 88
        daoUtil.setInt( nIndex++, config.getIdExtender( ) );
        daoUtil.setBoolean( nIndex++, config.isModerated( ) );
        daoUtil.setInt( nIndex++, config.getNbComments( ) );
        daoUtil.setInt( nIndex++, config.getIdMailingList( ) );
        daoUtil.setBoolean( nIndex++, config.getAuthorizeSubComments( ) );
        daoUtil.setBoolean( nIndex++, config.getUseBBCodeEditor( ) );
        daoUtil.setString( nIndex++, config.getAdminBadge( ) );
        daoUtil.setString( nIndex++, config.getMessageCommentCreated( ) );
        daoUtil.setInt( nIndex++, config.getAddCommentPosition( ) );
        daoUtil.setBoolean( nIndex++, config.isEnabledAuthMode( ) );
        daoUtil.setBoolean( nIndex++, config.isDisplaySubComments( ) );
        daoUtil.setBoolean( nIndex++, config.getDeleteComments( ) );
        daoUtil.setBoolean( nIndex++, config.isTriCommentsByCreation( ) );
        daoUtil.setInt( nIndex, config.getIdWorkflow( ) );
Fichier Ligne
fr/paris/lutece/plugins/extend/modules/comment/business/CommentDAO.java 118
fr/paris/lutece/plugins/extend/modules/comment/business/CommentDAO.java 209
            daoUtil.setString( nIndex++, comment.getIdExtendableResource( ) );
            daoUtil.setString( nIndex++, comment.getExtendableResourceType( ) );
            daoUtil.setTimestamp( nIndex++, comment.getDateComment( ) );
            daoUtil.setString( nIndex++, comment.getName( ) );
            daoUtil.setString( nIndex++, comment.getEmail( ) );
            daoUtil.setString( nIndex++, comment.getIpAddress( ) );
            daoUtil.setString( nIndex++, comment.getComment( ) );
            daoUtil.setBoolean( nIndex++, comment.isPublished( ) );
            daoUtil.setTimestamp( nIndex++, comment.getDateLastModif( ) );
            daoUtil.setInt( nIndex++, comment.getIdParentComment( ) );
            daoUtil.setBoolean( nIndex++, comment.getIsAdminComment( ) );
            daoUtil.setString( nIndex++, comment.getLuteceUserName( ) );
Fichier Ligne
fr/paris/lutece/plugins/extend/modules/comment/web/CommentApp.java 258
fr/paris/lutece/plugins/extend/modules/comment/web/CommentApp.java 388
        String strFromUrl = request.getParameter( CommentConstants.PARAMETER_FROM_URL );
        if ( CommentConstants.FROM_SESSION.equals( strFromUrl ) )
        {
            strFromUrl = (String) request.getSession( ).getAttribute( ExtendPlugin.PLUGIN_NAME + CommentConstants.PARAMETER_FROM_URL );
        }
        if ( StringUtils.isEmpty( strFromUrl ) )
        {
            strFromUrl = request.getHeader( CommentConstants.PARAMETER_REFERER );
        }
        if ( strFromUrl != null )
        {
            strFromUrl = strFromUrl.replace( CONSTANT_AND, CONSTANT_AND_HTML );
        }
        request.getSession( ).setAttribute( ExtendPlugin.PLUGIN_NAME + CommentConstants.PARAMETER_FROM_URL, strFromUrl );