CPD Results
The following document contains the results of PMD's CPD 6.49.0.
Duplications
File | Line |
---|---|
org/apache/maven/internal/xml/Xpp3DomBuilder.java | 37 |
org/codehaus/plexus/util/xml/Xpp3DomBuilder.java | 30 |
public class Xpp3DomBuilder { private static final boolean DEFAULT_TRIM = true; public static Xpp3Dom build(Reader reader) throws XmlPullParserException, IOException { return build(reader, null); } /** * @param reader the reader * @param locationBuilder the builder * @since 3.2.0 * @return DOM * @throws XmlPullParserException xml exception * @throws IOException io */ public static Xpp3Dom build(Reader reader, InputLocationBuilder locationBuilder) throws XmlPullParserException, IOException { return build(reader, DEFAULT_TRIM, locationBuilder); } public static Xpp3Dom build(InputStream is, String encoding) throws XmlPullParserException, IOException { return build(is, encoding, DEFAULT_TRIM); } public static Xpp3Dom build(InputStream is, String encoding, boolean trim) throws XmlPullParserException, IOException { |