CPD Results
The following document contains the results of PMD's CPD 6.13.0.
Duplications
File |
Line |
fr/paris/lutece/plugins/poll/business/PollFormQuestionDAO.java |
164 |
fr/paris/lutece/plugins/poll/business/PollFormQuestionDAO.java |
240 |
daoUtil.executeQuery( );
while ( daoUtil.next( ) )
{
PollFormQuestion pollFormQuestion = new PollFormQuestion( );
int nIndex = 1;
pollFormQuestion.setId( daoUtil.getInt( nIndex++ ) );
pollFormQuestion.setIdPollForm( daoUtil.getInt( nIndex++ ) );
pollFormQuestion.setIdForm( daoUtil.getInt( nIndex++ ) );
pollFormQuestion.setIdQuestion( daoUtil.getInt( nIndex++ ) );
pollFormQuestion.setType( daoUtil.getString( nIndex++ ) );
pollFormQuestion.setIsToolBox( daoUtil.getBoolean( nIndex++ ) );
pollFormQuestion.setIsChecked( daoUtil.getBoolean( nIndex ) ); |
File |
Line |
fr/paris/lutece/plugins/poll/business/PollFormQuestionDAO.java |
97 |
fr/paris/lutece/plugins/poll/business/PollFormQuestionDAO.java |
269 |
if ( daoUtil.next( ) )
{
pollFormQuestion = new PollFormQuestion( );
int nIndex = 1;
pollFormQuestion.setId( daoUtil.getInt( nIndex++ ) );
pollFormQuestion.setIdPollForm( daoUtil.getInt( nIndex++ ) );
pollFormQuestion.setIdForm( daoUtil.getInt( nIndex++ ) );
pollFormQuestion.setIdQuestion( daoUtil.getInt( nIndex++ ) );
pollFormQuestion.setType( daoUtil.getString( nIndex++ ) );
pollFormQuestion.setIsToolBox( daoUtil.getBoolean( nIndex++ ) );
pollFormQuestion.setIsChecked( daoUtil.getBoolean( nIndex ) ); |