Le document suivant contient les résultats de l'inspection CPD CPD 6.13.0.
Fichier | Ligne |
---|---|
fr/paris/lutece/plugins/galleryimage/business/GalleryDAO.java | 88 |
fr/paris/lutece/plugins/galleryimage/business/GalleryDAO.java | 185 |
daoUtil.setInt( 1, nId ); daoUtil.executeQuery( ); Gallery gallery = null; if ( daoUtil.next( ) ) { gallery = new Gallery( ); int nIndex = 0; gallery.setIdGallery( daoUtil.getInt( ++nIndex ) ); gallery.setCodeGallery( daoUtil.getString( ++nIndex ) ); gallery.setLabel( daoUtil.getString( ++nIndex ) ); gallery.setGalleryImageType( daoUtil.getString( ++nIndex ) ); gallery.setHeightGallery( daoUtil.getInt( ++nIndex ) ); gallery.setWidthGallery( daoUtil.getInt( ++nIndex ) ); gallery.setAuthenticatedMode( daoUtil.getBoolean( ++nIndex ) ); } return gallery; } } |