CPD Results
The following document contains the results of PMD's CPD 7.7.0.
Duplications
| File | Line |
|---|---|
| org/codehaus/modello/core/io/ModelReader.java | 342 |
| org/codehaus/modello/core/io/ModelReader.java | 364 |
private void parseCodeSegment(ModelClass modelClass, XmlPullParser parser)
throws XmlPullParserException, IOException {
while (parser.nextTag() == XmlPullParser.START_TAG) {
if ("codeSegment".equals(parser.getName())) {
CodeSegment codeSegment = new CodeSegment();
while (parser.nextTag() == XmlPullParser.START_TAG) {
if (parseBaseElement(codeSegment, parser)) {
} else if ("code".equals(parser.getName())) {
codeSegment.setCode(parser.nextText());
} else {
parser.nextText();
}
} | |
