Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/22989#discussion_r233318346 --- Diff: dev/checkstyle.xml --- @@ -180,5 +180,10 @@ <module name="UnusedImports"/> <module name="RedundantImport"/> <module name="RedundantModifier"/> + <module name="RegexpSinglelineJava"> + <property name="format" value="throw new \w+Error\("/> + <property name="message" value="Avoid throwing error in application code."/> --- End diff -- What `application code` means here?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org