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/webappcontainer/web/WebappcontainerJspBean.java 231
fr/paris/lutece/plugins/webappcontainer/web/WebappcontainerJspBean.java 355
		site.setCode( strCode );
		site.setUrl( strUrl );
		site.setDescription( strDescription );
		site.setEncoding( strEncoding );
		site.setHat( strHat );
		site.setWorkgroup( strWorkgroupKey );

		if ( ( strRebuildHtmlPage != null ) && strRebuildHtmlPage.equals( Boolean.TRUE.toString() ) )
		{
			site.setRebuildHtmlPage( true );
		}
		else
		{
			site.setRebuildHtmlPage( false );
		}

		if ( ( strRedirectNonHtmlContent != null ) && strRedirectNonHtmlContent.equals( Boolean.TRUE.toString() ) )
		{
			site.setRedirectNonHtmlContent( true );
		}
		else
		{
			site.setRedirectNonHtmlContent( false );
		}

		if ( ( strUseProxy != null ) && strUseProxy.equals( Boolean.TRUE.toString() ) )
		{
			site.setUseProxy( true );
		}
		else
		{
			site.setUseProxy( false );
		}