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/recastbots/business/RecastBotDAO.java 102
fr/paris/lutece/plugins/recastbots/business/RecastBotDAO.java 170
            recastBot = new RecastBot( );
            int nIndex = 1;

            recastBot.setId( daoUtil.getInt( nIndex++ ) );
            recastBot.setBotKey( daoUtil.getString( nIndex++ ) );
            recastBot.setName( daoUtil.getString( nIndex++ ) );
            recastBot.setDescription( daoUtil.getString( nIndex++ ) );
            recastBot.setAvatarUrl( daoUtil.getString( nIndex++ ) );
            recastBot.setLanguage( daoUtil.getString( nIndex++ ) );
            recastBot.setBotStatus( daoUtil.getInt( nIndex++ ) );
            recastBot.setToken( daoUtil.getString( nIndex++ ) );
            recastBot.setStandalone( daoUtil.getInt( nIndex++ ) );
            recastBot.setWelcomeMessage( daoUtil.getString( nIndex++ ) );
Fichier Ligne
fr/paris/lutece/plugins/recastbots/business/RecastBotDAO.java 68
fr/paris/lutece/plugins/recastbots/business/RecastBotDAO.java 143
            daoUtil.setString( nIndex++, recastBot.getBotKey( ) );
            daoUtil.setString( nIndex++, recastBot.getName( ) );
            daoUtil.setString( nIndex++, recastBot.getDescription( ) );
            daoUtil.setString( nIndex++, recastBot.getAvatarUrl( ) );
            daoUtil.setString( nIndex++, recastBot.getLanguage( ) );
            daoUtil.setInt( nIndex++, recastBot.getBotStatus( ) );
            daoUtil.setString( nIndex++, recastBot.getToken( ) );
            daoUtil.setInt( nIndex++, recastBot.getStandalone( ) );
            daoUtil.setString( nIndex++, recastBot.getWelcomeMessage( ) );
            daoUtil.executeUpdate( );