Fork me on GitHub

CPD Results

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

Duplications

File Line
fr/paris/lutece/plugins/library/web/LibraryInsertServiceJspBean.java 546
fr/paris/lutece/plugins/library/web/UploadInsertServiceJspBean.java 503
        String strHtml = "";

        try
        {
            XmlTransformerService xmlTransformerService = new XmlTransformerService(  );
            String strXslUniqueId = XSL_UNIQUE_PREFIX_ID + strMediaTypeId;
            String strPreHtml = xmlTransformerService.transformBySourceWithXslCache( sbXml.toString(  ),
                    mediaType.getStyleSheet(  ).getSource(  ), strXslUniqueId, null, null );

            strHtml = StringEscapeUtils.escapeEcmaScript( strPreHtml );
        }
        catch ( Exception e )
        {
            AppLogService.error( sbXml.toString(  ) );
            AppLogService.error( getClass(  ).getClassLoader(  ).getResource( "testlibrary.xsl" ) );
            AppLogService.error( e.getMessage(  ), e );
        }