Fork me on GitHub

Résultats CPD

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

Duplicatas

Fichier Ligne
fr/paris/lutece/plugins/botpress/business/BPBotDAO.java 109
fr/paris/lutece/plugins/botpress/business/BPBotDAO.java 187
            bPBot = new BPBot( );

            int nIndex = 1;

            bPBot.setId( daoUtil.getInt( nIndex++ ) );
            bPBot.setBotKey( daoUtil.getString( nIndex++ ) );
            bPBot.setBotPressKey( daoUtil.getString( nIndex++ ) );
            bPBot.setName( daoUtil.getString( nIndex++ ) );
            bPBot.setDescription( daoUtil.getString( nIndex++ ) );
            bPBot.setAvatarUrl( daoUtil.getString( nIndex++ ) );
            bPBot.setAvatarRendererKey( daoUtil.getString( nIndex++ ) );
            bPBot.setLanguage( daoUtil.getString( nIndex++ ) );
            bPBot.setBotStatus( daoUtil.getInt( nIndex++ ) );
            bPBot.setIsStandalone( daoUtil.getInt( nIndex++ ) );
            bPBot.setWelcomeMessage( daoUtil.getString( nIndex++ ) );
            bPBot.setErrorMessage( daoUtil.getString( nIndex++ ) );
            bPBot.setServerUrl( daoUtil.getString( nIndex++ ) );
            bPBot.setApiVersion( daoUtil.getInt( nIndex++ ) );
Fichier Ligne
fr/paris/lutece/plugins/botpress/business/BPBotDAO.java 68
fr/paris/lutece/plugins/botpress/business/BPBotDAO.java 156
            daoUtil.setString( nIndex++, bPBot.getBotKey( ) );
            daoUtil.setString( nIndex++, bPBot.getBotPressKey( ) );
            daoUtil.setString( nIndex++, bPBot.getName( ) );
            daoUtil.setString( nIndex++, bPBot.getDescription( ) );
            daoUtil.setString( nIndex++, bPBot.getAvatarUrl( ) );
            daoUtil.setString( nIndex++, bPBot.getAvatarRendererKey( ) );
            daoUtil.setString( nIndex++, bPBot.getLanguage( ) );
            daoUtil.setInt( nIndex++, bPBot.getBotStatus( ) );
            daoUtil.setInt( nIndex++, bPBot.getIsStandalone( ) );
            daoUtil.setString( nIndex++, bPBot.getWelcomeMessage( ) );
            daoUtil.setString( nIndex++, bPBot.getErrorMessage( ) );
            daoUtil.setString( nIndex++, bPBot.getServerUrl( ) );
            daoUtil.setInt( nIndex++, bPBot.getApiVersion( ) );

            daoUtil.executeUpdate( );