Fork me on GitHub

Résultats CPD

Le document suivant contient les résultats de l'inspection CPD CPD 5.5.1.

Duplicatas

Fichier Ligne
fr/paris/lutece/plugins/bornecineraire/business/DefuntDAO.java 233
fr/paris/lutece/plugins/bornecineraire/business/DefuntDAO.java 387
        DAOUtil daoUtil = new DAOUtil( SQL_QUERY_SELECTALL, plugin );
        daoUtil.executeQuery( );

        while ( daoUtil.next( ) )
        {
            Defunt defunt = new Defunt( );
            int nIndex = 1;

            defunt.setId( daoUtil.getInt( nIndex++ ) );
            defunt.setTriCimetiere( daoUtil.getString( nIndex++ ) );
            defunt.setIdPersAnkou( daoUtil.getInt( nIndex++ ) );
            defunt.setNomPatronymique( daoUtil.getString( nIndex++ ) );
            defunt.setNomMarital( daoUtil.getString( nIndex++ ) );
            defunt.setNomUsage( daoUtil.getString( nIndex++ ) );
            defunt.setNomConcatene( daoUtil.getString( nIndex++ ) );
            defunt.setPrenomUn( daoUtil.getString( nIndex++ ) );
            defunt.setPrenomDeux( daoUtil.getString( nIndex++ ) );
            defunt.setPrenomTrois( daoUtil.getString( nIndex++ ) );
            defunt.setPrenomConcatene( daoUtil.getString( nIndex++ ) );
            defunt.setDateNaissance( daoUtil.getDate( nIndex++ ) );
            defunt.setJourNaissance( daoUtil.getInt( nIndex++ ) );
            defunt.setMoisNaissance( daoUtil.getInt( nIndex++ ) );
            defunt.setAnneeNaissance( daoUtil.getInt( nIndex++ ) );
            defunt.setDateDeces( daoUtil.getDate( nIndex++ ) );
            defunt.setJourDeces( daoUtil.getInt( nIndex++ ) );
            defunt.setMoisDeces( daoUtil.getInt( nIndex++ ) );
            defunt.setAnneeDeces( daoUtil.getInt( nIndex++ ) );
            defunt.setDateInhumation( daoUtil.getDate( nIndex++ ) );
            defunt.setJourInhumation( daoUtil.getInt( nIndex++ ) );
            defunt.setMoisInhumation( daoUtil.getInt( nIndex++ ) );
            defunt.setAnneeInhumation( daoUtil.getInt( nIndex++ ) );
            defunt.setDateDispersion( daoUtil.getDate( nIndex++ ) );
            defunt.setJourDispersion( daoUtil.getInt( nIndex++ ) );
            defunt.setMoisDispersion( daoUtil.getInt( nIndex++ ) );
            defunt.setAnneeDispersion( daoUtil.getInt( nIndex++ ) );
            defunt.setCommuneDeces( daoUtil.getString( nIndex++ ) );
            defunt.setEmplacement( daoUtil.getString( nIndex++ ) );
            defunt.setGeolocalisation( daoUtil.getString( nIndex++ ) );
            defunt.setGeolocalisationX( daoUtil.getString( nIndex++ ) );
            defunt.setGeolocalisationY( daoUtil.getString( nIndex++ ) );

            defuntList.add( defunt );
        }

        daoUtil.free( );
        return defuntList;
    }
Fichier Ligne
fr/paris/lutece/plugins/bornecineraire/business/DefuntDAO.java 68
fr/paris/lutece/plugins/bornecineraire/business/DefuntDAO.java 186
            int nIndex = 1;
            daoUtil.setInt( nIndex++, defunt.getId( ) );
            daoUtil.setString( nIndex++, defunt.getTriCimetiere( ) );
            daoUtil.setInt( nIndex++, defunt.getIdPersAnkou( ) );
            daoUtil.setString( nIndex++, defunt.getNomPatronymique( ) );
            daoUtil.setString( nIndex++, defunt.getNomMarital( ) );
            daoUtil.setString( nIndex++, defunt.getNomUsage( ) );
            daoUtil.setString( nIndex++, defunt.getNomConcatene( ) );
            daoUtil.setString( nIndex++, defunt.getPrenomUn( ) );
            daoUtil.setString( nIndex++, defunt.getPrenomDeux( ) );
            daoUtil.setString( nIndex++, defunt.getPrenomTrois( ) );
            daoUtil.setString( nIndex++, defunt.getPrenomConcatene( ) );
            daoUtil.setDate( nIndex++, defunt.getDateNaissance( ) );
            daoUtil.setInt( nIndex++, defunt.getJourNaissance( ) );
            daoUtil.setInt( nIndex++, defunt.getMoisNaissance( ) );
            daoUtil.setInt( nIndex++, defunt.getAnneeNaissance( ) );
            daoUtil.setDate( nIndex++, defunt.getDateDeces( ) );
            daoUtil.setInt( nIndex++, defunt.getJourDeces( ) );
            daoUtil.setInt( nIndex++, defunt.getMoisDeces( ) );
            daoUtil.setInt( nIndex++, defunt.getAnneeDeces( ) );
            daoUtil.setDate( nIndex++, defunt.getDateInhumation( ) );
            daoUtil.setInt( nIndex++, defunt.getJourInhumation( ) );
            daoUtil.setInt( nIndex++, defunt.getMoisInhumation( ) );
            daoUtil.setInt( nIndex++, defunt.getAnneeInhumation( ) );
            daoUtil.setDate( nIndex++, defunt.getDateDispersion( ) );
            daoUtil.setInt( nIndex++, defunt.getJourDispersion( ) );
            daoUtil.setInt( nIndex++, defunt.getMoisDispersion( ) );
            daoUtil.setInt( nIndex++, defunt.getAnneeDispersion( ) );
            daoUtil.setString( nIndex++, defunt.getCommuneDeces( ) );
            daoUtil.setString( nIndex++, defunt.getEmplacement( ) );
            daoUtil.setString( nIndex++, defunt.getGeolocalisation( ) );
            daoUtil.setString( nIndex++, defunt.getGeolocalisationX( ) );
            daoUtil.setString( nIndex++, defunt.getGeolocalisationY( ) );

            daoUtil.executeUpdate( );
Fichier Ligne
fr/paris/lutece/plugins/bornecineraire/business/DefuntDAO.java 126
fr/paris/lutece/plugins/bornecineraire/business/DefuntDAO.java 238
fr/paris/lutece/plugins/bornecineraire/business/DefuntDAO.java 392
            defunt = new Defunt( );
            int nIndex = 1;

            defunt.setId( daoUtil.getInt( nIndex++ ) );
            defunt.setTriCimetiere( daoUtil.getString( nIndex++ ) );
            defunt.setIdPersAnkou( daoUtil.getInt( nIndex++ ) );
            defunt.setNomPatronymique( daoUtil.getString( nIndex++ ) );
            defunt.setNomMarital( daoUtil.getString( nIndex++ ) );
            defunt.setNomUsage( daoUtil.getString( nIndex++ ) );
            defunt.setNomConcatene( daoUtil.getString( nIndex++ ) );
            defunt.setPrenomUn( daoUtil.getString( nIndex++ ) );
            defunt.setPrenomDeux( daoUtil.getString( nIndex++ ) );
            defunt.setPrenomTrois( daoUtil.getString( nIndex++ ) );
            defunt.setPrenomConcatene( daoUtil.getString( nIndex++ ) );
            defunt.setDateNaissance( daoUtil.getDate( nIndex++ ) );
            defunt.setJourNaissance( daoUtil.getInt( nIndex++ ) );
            defunt.setMoisNaissance( daoUtil.getInt( nIndex++ ) );
            defunt.setAnneeNaissance( daoUtil.getInt( nIndex++ ) );
            defunt.setDateDeces( daoUtil.getDate( nIndex++ ) );
            defunt.setJourDeces( daoUtil.getInt( nIndex++ ) );
            defunt.setMoisDeces( daoUtil.getInt( nIndex++ ) );
            defunt.setAnneeDeces( daoUtil.getInt( nIndex++ ) );
            defunt.setDateInhumation( daoUtil.getDate( nIndex++ ) );
            defunt.setJourInhumation( daoUtil.getInt( nIndex++ ) );
            defunt.setMoisInhumation( daoUtil.getInt( nIndex++ ) );
            defunt.setAnneeInhumation( daoUtil.getInt( nIndex++ ) );
            defunt.setDateDispersion( daoUtil.getDate( nIndex++ ) );
            defunt.setJourDispersion( daoUtil.getInt( nIndex++ ) );
            defunt.setMoisDispersion( daoUtil.getInt( nIndex++ ) );
            defunt.setAnneeDispersion( daoUtil.getInt( nIndex++ ) );
            defunt.setCommuneDeces( daoUtil.getString( nIndex++ ) );
            defunt.setEmplacement( daoUtil.getString( nIndex++ ) );
            defunt.setGeolocalisation( daoUtil.getString( nIndex++ ) );
            defunt.setGeolocalisationX( daoUtil.getString( nIndex++ ) );
            defunt.setGeolocalisationY( daoUtil.getString( nIndex++ ) );