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/forms/modules/documentproducer/business/producerconfig/ConfigProducerDAO.java 153
fr/paris/lutece/plugins/forms/modules/documentproducer/business/producerconfig/ConfigProducerDAO.java 365
        try ( DAOUtil daoUtil = new DAOUtil( SQL_QUERY_SELECT_CONFIG_BY_FORMS, plugin ) )
        {
            daoUtil.setInt( 1, nIdForms );
            daoUtil.executeQuery( );

            while ( daoUtil.next( ) )
            {
                ConfigProducer producerConfig = new ConfigProducer( );
                producerConfig.setIdProducerConfig( daoUtil.getInt( 1 ) );
                producerConfig.setName( daoUtil.getString( 2 ) );
                producerConfig.setIdQuestionFileName( daoUtil.getInt( 3 ) );
                producerConfig.setIdForm( nIdForms );
                producerConfig.setType( daoUtil.getString( 5 ) );
                producerConfig.setTextFileName( daoUtil.getString( 6 ) );
                producerConfig.setTypeConfigFileName( daoUtil.getString( 7 ) );
                listProducerConfig.add( producerConfig );
            }
        }

        return listProducerConfig;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public List<Integer> loadListConfigQuestion( Plugin plugin, int nIdConfig )