CPD Results

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

Duplications

FileLine
uk/ac/ebi/intenz/tools/export/XmlExporter.java253
uk/ac/ebi/intenz/tools/export/XmlExporter.java311
            for (EnzymeEntry entry : enzymes) {
                int ec1 = entry.getEc().getEc1();
                int ec2 = entry.getEc().getEc2();
                int ec3 = entry.getEc().getEc3();

                EcClassType clazz = getClazz(intenz, ec1);
                EcSubclassType subClazz = getSubClazz(clazz, ec1, ec2);
                EcSubsubclassType subSubClazz = getSubSubClazz(subClazz, ec1, ec2, ec3);

                EntryType jaxbEntry = getJaxbEntry(entry);
                subSubClazz.getEnzyme().add(jaxbEntry);
            }
    //        marshaller.marshal(intenz, os);
            marshaller.marshal(intenz, getXMLSerializer(os));
        } catch (JAXBException e) {