aboutsummaryrefslogtreecommitdiff
path: root/scalastyle-config.xml
diff options
context:
space:
mode:
Diffstat (limited to 'scalastyle-config.xml')
-rw-r--r--scalastyle-config.xml8
1 files changed, 0 insertions, 8 deletions
diff --git a/scalastyle-config.xml b/scalastyle-config.xml
index 16d18b3328..ee855ca0e0 100644
--- a/scalastyle-config.xml
+++ b/scalastyle-config.xml
@@ -187,14 +187,6 @@ This file is divided into 3 sections:
scala.collection.JavaConverters._ and use .asScala / .asJava methods</customMessage>
</check>
- <!-- As of SPARK-10330 JobContext methods should not be called directly -->
- <check customId="jobcontext" level="error" class="org.scalastyle.scalariform.TokenChecker" enabled="true">
- <parameters><parameter name="regex">^getConfiguration$|^getTaskAttemptID$</parameter></parameters>
- <customMessage>Instead of calling .getConfiguration() or .getTaskAttemptID() directly,
- use SparkHadoopUtil's getConfigurationFromJobContext() and getTaskAttemptIDFromTaskAttemptContext() methods.
- </customMessage>
- </check>
-
<!-- ================================================================================ -->
<!-- rules we'd like to enforce, but haven't cleaned up the codebase yet -->
<!-- ================================================================================ -->