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/forms/modules/unittree/business/selection/UnitSelectionConfigValueDao.java 67
fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigValueDao.java 105
            daoUtil.setInt( ++nIndex, configValue.getIdConfig( ) );
            if ( configValue.getStep( ) != null )
            {
                daoUtil.setInt( ++nIndex, configValue.getStep( ).getId( ) );
            }
            else
            {
                daoUtil.setInt( ++nIndex, -1 );
            }
            if ( configValue.getQuestion( ) != null )
            {
                daoUtil.setInt( ++nIndex, configValue.getQuestion( ).getId( ) );
            }
            else
            {
                daoUtil.setInt( ++nIndex, -1 );
            }
            daoUtil.setString( ++nIndex, configValue.getValue( ) );
            daoUtil.setInt( ++nIndex, configValue.getUnit( ).getIdUnit( ) );
            daoUtil.setInt( ++nIndex, configValue.getOrder( ) );
            daoUtil.setString( ++nIndex, configValue.getCode( ) );
            daoUtil.executeUpdate( );