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

    https://github.com/apache/spark/pull/22213#discussion_r216091436
  
    --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
    @@ -2052,6 +2051,31 @@ private[spark] object Utils extends Logging {
         }
       }
     
    +
    +  private[this] val nonSpaceOrNaturalLineDelimiter: Char => Boolean = {
    --- End diff --
    
    This can be declared inside `trimExceptCRLF`.
    
    Also, nit: `ch =>` stays with the opening brace.


---

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

Reply via email to