aboutsummaryrefslogtreecommitdiff
path: root/scalastyle-config.xml
diff options
context:
space:
mode:
authortedyu <yuzhihong@gmail.com>2015-11-10 16:52:26 -0800
committerAndrew Or <andrew@databricks.com>2015-11-10 16:52:59 -0800
commit900917541651abe7125f0d205085d2ab6a00d92c (patch)
treed63e9539267638227ee546f3964ca8c660cd22ee /scalastyle-config.xml
parent3e0a6cf1e02a19b37c68d3026415d53bb57a576b (diff)
downloadspark-900917541651abe7125f0d205085d2ab6a00d92c.tar.gz
spark-900917541651abe7125f0d205085d2ab6a00d92c.tar.bz2
spark-900917541651abe7125f0d205085d2ab6a00d92c.zip
[SPARK-11615] Drop @VisibleForTesting annotation
See http://search-hadoop.com/m/q3RTtjpe8r1iRbTj2 for discussion. Summary: addition of VisibleForTesting annotation resulted in spark-shell malfunctioning. Author: tedyu <yuzhihong@gmail.com> Closes #9585 from tedyu/master.
Diffstat (limited to 'scalastyle-config.xml')
-rw-r--r--scalastyle-config.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/scalastyle-config.xml b/scalastyle-config.xml
index 64a0c71bbe..050c3f3604 100644
--- a/scalastyle-config.xml
+++ b/scalastyle-config.xml
@@ -150,6 +150,13 @@ This file is divided into 3 sections:
// scalastyle:on println]]></customMessage>
</check>
+ <check customId="visiblefortesting" level="error" class="org.scalastyle.file.RegexChecker" enabled="true">
+ <parameters><parameter name="regex">@VisibleForTesting</parameter></parameters>
+ <customMessage><![CDATA[
+ @VisibleForTesting auses classpath issues. Please note this in the java doc instead (SPARK-11615).
+ ]]></customMessage>
+ </check>
+
<check customId="classforname" level="error" class="org.scalastyle.file.RegexChecker" enabled="true">
<parameters><parameter name="regex">Class\.forName</parameter></parameters>
<customMessage><![CDATA[