Fork me on GitHub

CPD Results

The following document contains the results of PMD's CPD 5.5.1.

Duplications

File Line
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++ ) );
File Line
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( );