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/wiki/business/ImageDAO.java 216
fr/paris/lutece/plugins/wiki/business/ImageDAO.java 250
            daoUtil.executeQuery( );

            int nPos;

            while ( daoUtil.next( ) )
            {
                nPos = 0;
                image = new Image( );
                image.setId( daoUtil.getInt( ++nPos ) );
                image.setName( daoUtil.getString( ++nPos ) );
                image.setMimeType( daoUtil.getString( ++nPos ) );
                image.setTopicId( daoUtil.getInt( ++nPos ) );
                image.setWidth( daoUtil.getInt( ++nPos ) );
                image.setHeight( daoUtil.getInt( ++nPos ) );

                listImage.add( image );
            }
        }

        return listImage;
    }