forked from phoedos/pmd
Merge branch 'pr-1322'
This commit is contained in:
@ -4,13 +4,14 @@
|
||||
|
||||
package net.sourceforge.pmd.lang.ecmascript;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
import org.mozilla.javascript.Context;
|
||||
|
||||
import net.sourceforge.pmd.Rule;
|
||||
import net.sourceforge.pmd.lang.ParserOptions;
|
||||
import net.sourceforge.pmd.properties.BooleanProperty;
|
||||
import net.sourceforge.pmd.properties.EnumeratedProperty;
|
||||
import net.sourceforge.pmd.util.StringUtil;
|
||||
|
||||
public class EcmascriptParserOptions extends ParserOptions {
|
||||
|
||||
@ -120,7 +121,7 @@ public class EcmascriptParserOptions extends ParserOptions {
|
||||
return false;
|
||||
}
|
||||
final EcmascriptParserOptions that = (EcmascriptParserOptions) obj;
|
||||
return StringUtil.isSame(this.suppressMarker, that.suppressMarker, false, false, false)
|
||||
return Objects.equals(this.suppressMarker, that.suppressMarker)
|
||||
&& this.recordingComments == that.recordingComments
|
||||
&& this.recordingLocalJsDocComments == that.recordingLocalJsDocComments
|
||||
&& this.rhinoLanguageVersion == that.rhinoLanguageVersion;
|
||||
|
Reference in New Issue
Block a user