Fork me on GitHub

CPD Results

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

Duplications

File Line
fr/paris/lutece/plugins/sqlpage/business/parameter/SQLPageParameterDAO.java 142
fr/paris/lutece/plugins/sqlpage/business/parameter/SQLPageParameterDAO.java 201
        daoUtil.setInt( 1, nId );
        daoUtil.executeQuery( );

        SQLPageParameter sqlPageParameter = null;

        if ( daoUtil.next( ) )
        {
            sqlPageParameter = new SQLPageParameter( );
            sqlPageParameter.setId( daoUtil.getInt( 1 ) );
            sqlPageParameter.setIdPage( daoUtil.getInt( 2 ) );
            sqlPageParameter.setKey( daoUtil.getString( 3 ) );
            sqlPageParameter.setName( daoUtil.getString( 4 ) );
            sqlPageParameter.setDefaultValue( daoUtil.getString( 5 ) );
            sqlPageParameter.setHelpMessage( daoUtil.getString( 6 ) );
        }

        daoUtil.free( );

        return sqlPageParameter;
    }