The following document contains the results of PMD's CPD 4.2.2.
File | Line |
---|---|
edu/uci/ics/jung/io/graphml/parser/EdgeElementParser.java | 71 |
edu/uci/ics/jung/io/graphml/parser/HyperEdgeElementParser.java | 55 |
} while (xmlEventReader.hasNext()) { XMLEvent event = xmlEventReader.nextEvent(); if (event.isStartElement()) { StartElement element = (StartElement) event; String name = element.getName().getLocalPart(); if(GraphMLConstants.DESC_NAME.equals(name)) { String desc = (String)getParser(name).parse(xmlEventReader, element); edge.setDescription(desc); } else if(GraphMLConstants.DATA_NAME.equals(name)) { DataMetadata data = (DataMetadata)getParser(name).parse(xmlEventReader, element); edge.addData(data); } else if(GraphMLConstants.ENDPOINT_NAME.equals(name)) { |