CPD Results

The following document contains the results of PMD's CPD 4.3.

Duplications

FileLine
fr/paris/lutece/plugins/formengine/business/NoticeDAO.java169
fr/paris/lutece/plugins/formengine/business/NoticeDAO.java384
        if ( daoUtil.next(  ) )
        {
            int nIndex = 1;
            notice = new Notice(  );
            notice.setIdNotice( daoUtil.getInt( nIndex++ ) );
            notice.setTitle( daoUtil.getString( nIndex++ ) );
            notice.setMessage( daoUtil.getString( nIndex++ ) );
            notice.setWorkgroupKey( daoUtil.getString( nIndex++ ) );
            notice.setDateDebut( daoUtil.getTimestamp( nIndex++ ) );
            notice.setDateFin( daoUtil.getTimestamp( nIndex++ ) );
            notice.setIdDiffusion( daoUtil.getInt( nIndex++ ) );
            notice.setEnabled( daoUtil.getBoolean( nIndex++ ) );
            notice.setIdNotification( daoUtil.getInt( nIndex++ ) );
            notice.setOrder( daoUtil.getInt( nIndex++ ) );
            notice.setIdNoticeGroup( daoUtil.getInt( nIndex++ ) );
FileLine
fr/paris/lutece/plugins/formengine/business/NoticeDAO.java134
fr/paris/lutece/plugins/formengine/business/NoticeDAO.java217
        daoUtil.setString( nIndex++, notice.getTitle(  ) );
        daoUtil.setString( nIndex++, notice.getMessage(  ) );
        daoUtil.setString( nIndex++, notice.getWorkgroupKey(  ) );
        daoUtil.setTimestamp( nIndex++, notice.getDateDebut(  ) );
        daoUtil.setTimestamp( nIndex++, notice.getDateFin(  ) );
        daoUtil.setInt( nIndex++, notice.getIdDiffusion(  ) );
        daoUtil.setBoolean( nIndex++, notice.isEnabled(  ) );
        daoUtil.setInt( nIndex++, notice.getIdNotification(  ) );
        daoUtil.setInt( nIndex++, notice.getOrder(  ) );
        daoUtil.setInt( nIndex++, notice.getIdNoticeGroup(  ) );