Fork me on GitHub

CPD Results

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

Duplications

File Line
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/business/TaskAutomaticAssignmentConfigDAO.java 69
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/business/TaskAutomaticAssignmentConfigDAO.java 95
        try ( DAOUtil daoUtil = new DAOUtil( SQL_QUERY_INSERT, AutomaticAssignmentPlugin.getPlugin( ) ) )
        {
            int nPos = 0;

            daoUtil.setInt( ++nPos, config.getIdTask( ) );
            daoUtil.setInt( ++nPos, config.getIdForm( ) );
            daoUtil.setString( ++nPos, config.getTitle( ) );
            daoUtil.setBoolean( ++nPos, config.isNotify( ) );
            daoUtil.setString( ++nPos, config.getMessage( ) );
            daoUtil.setString( ++nPos, config.getSubject( ) );
            daoUtil.setString( ++nPos, config.getSenderName( ) );
            daoUtil.setBoolean( ++nPos, config.isViewFormResponse( ) );
            daoUtil.setString( ++nPos, config.getLabelLinkViewRecord( ) );
            daoUtil.setString( ++nPos, config.getRecipientsCc( ) );
            daoUtil.setString( ++nPos, config.getRecipientsBcc( ) );

            daoUtil.executeUpdate( );