aboutsummaryrefslogtreecommitdiff
path: root/scalastyle-config.xml
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2015-05-31 00:05:55 -0700
committerReynold Xin <rxin@databricks.com>2015-05-31 00:05:55 -0700
commit7896e99b2a0a160bd0b6c5c11cf40b6cbf4a65cf (patch)
tree04dd0292a2588009dab580f82d36fe755af9987e /scalastyle-config.xml
parent8764dccebd44292ab6f6834640199aad451459c5 (diff)
downloadspark-7896e99b2a0a160bd0b6c5c11cf40b6cbf4a65cf.tar.gz
spark-7896e99b2a0a160bd0b6c5c11cf40b6cbf4a65cf.tar.bz2
spark-7896e99b2a0a160bd0b6c5c11cf40b6cbf4a65cf.zip
[SPARK-7975] Add style checker to disallow overriding equals covariantly.
Author: Reynold Xin <rxin@databricks.com> This patch had conflicts when merged, resolved by Committer: Reynold Xin <rxin@databricks.com> Closes #6527 from rxin/covariant-equals and squashes the following commits: e7d7784 [Reynold Xin] [SPARK-7975] Enforce CovariantEqualsChecker
Diffstat (limited to 'scalastyle-config.xml')
-rw-r--r--scalastyle-config.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/scalastyle-config.xml b/scalastyle-config.xml
index 072c48062c..3a98422216 100644
--- a/scalastyle-config.xml
+++ b/scalastyle-config.xml
@@ -97,7 +97,7 @@
<!-- <check level="error" class="org.scalastyle.scalariform.NullChecker" enabled="true"></check> -->
<!-- <check level="error" class="org.scalastyle.scalariform.NoCloneChecker" enabled="true"></check> -->
<check level="error" class="org.scalastyle.scalariform.NoFinalizeChecker" enabled="true"></check>
- <!-- <check level="error" class="org.scalastyle.scalariform.CovariantEqualsChecker" enabled="true"></check> -->
+ <check level="error" class="org.scalastyle.scalariform.CovariantEqualsChecker" enabled="true"></check>
<!-- <check level="error" class="org.scalastyle.scalariform.StructuralTypeChecker" enabled="true"></check> -->
<!-- <check level="error" class="org.scalastyle.file.RegexChecker" enabled="true"> -->
<!-- <parameters> -->