Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22989#discussion_r232491342
  
    --- Diff: dev/checkstyle.xml ---
    @@ -64,6 +64,11 @@
             <property name="message" value="No trailing whitespace allowed."/>
         </module>
     
    +    <module name="RegexpSingleline">
    +        <property name="format" value="throw new OutOfMemoryError"/>
    --- End diff --
    
    Per my suggestion below, how about the regex `throw new \\w+Error\\(`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to