Merge branch 'master' into unit-test-split
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>net.sourceforge.pmd</groupId>
|
||||
<artifactId>pmd</artifactId>
|
||||
<version>6.8.0-SNAPSHOT</version>
|
||||
<version>6.9.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<build>
|
||||
|
@@ -6,6 +6,7 @@ package net.sourceforge.pmd.lang.xml;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.IOException;
|
||||
import java.util.Objects;
|
||||
|
||||
import org.xml.sax.EntityResolver;
|
||||
import org.xml.sax.InputSource;
|
||||
@@ -14,7 +15,6 @@ import org.xml.sax.SAXException;
|
||||
import net.sourceforge.pmd.Rule;
|
||||
import net.sourceforge.pmd.lang.ParserOptions;
|
||||
import net.sourceforge.pmd.properties.BooleanProperty;
|
||||
import net.sourceforge.pmd.util.StringUtil;
|
||||
|
||||
public class XmlParserOptions extends ParserOptions {
|
||||
|
||||
@@ -182,7 +182,7 @@ public class XmlParserOptions extends ParserOptions {
|
||||
return false;
|
||||
}
|
||||
final XmlParserOptions that = (XmlParserOptions) obj;
|
||||
return StringUtil.isSame(this.suppressMarker, that.suppressMarker, false, false, false)
|
||||
return Objects.equals(this.suppressMarker, that.suppressMarker)
|
||||
&& this.coalescing == that.coalescing && this.expandEntityReferences == that.expandEntityReferences
|
||||
&& this.ignoringComments == that.ignoringComments
|
||||
&& this.ignoringElementContentWhitespace == that.ignoringElementContentWhitespace
|
||||
|
Reference in New Issue
Block a user