Fork me on GitHub

CPD Results

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

Duplications

File Line
fr/paris/lutece/plugins/deployment/web/DeploymentJspBean.java 606
fr/paris/lutece/plugins/deployment/web/DeploymentJspBean.java 840
            HashMap model = new HashMap( );

            if ( ( workflowDeploySiteContext.isDeployWar( ) && !isAuthorized( application, ApplicationResourceIdService.PERMISSION_DEPLOY_APPLICATION,
                    environment ) )
                    || ( workflowDeploySiteContext.isDeploySql( ) && !isAuthorized( application, ApplicationResourceIdService.PERMISSION_DEPLOY_SCRIPT,
                            environment ) )
                    || ( workflowDeploySiteContext.isInitBdd( ) && !isAuthorized( application, ApplicationResourceIdService.PERMISSION_INIT_DATABASE,
                            environment ) )
                    || ( workflowDeploySiteContext.isInitAppContext( ) && !isAuthorized( application, ApplicationResourceIdService.PERMISSION_INIT_APP_CONTEXT,
                            environment ) ) )
            {

                throw new AccessDeniedException( I18nService.getLocalizedString( MESSAGE_ACCESS_DENIED, getLocale( ) ) );
            }