CPD Results

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

Duplications

File Line
at\infonova\opencms\modules\templatehelper\util\XmlContentTypsUtil.java 117
at\infonova\opencms\modules\templatehelper\util\XmlContentTypsUtil.java 172
            final HttpServletRequest request) {
        
        Transformer transformer = new Transformer(){
            @Override
            public Object transform(Object obj) {
                if (obj == null) return null;
                
                String key = obj.toString();
                Map<String, Object> content = null;
                try {
                    if (key != null && key.length() > 0) {
                        CmsFile file = cms.readFile(key);
                        content = XmlContentTypsUtil.getXmlContentLocalAsMap(cms, file, templateHelper, cms
                                .getRequestContext().getLocale());
                    }
                } catch (CmsXmlException e) {