This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new 99f6f77168f [MINOR][SQL] Updated `ErrorInfo` and `ErrorSubInfo` comments and indentation 99f6f77168f is described below commit 99f6f77168f442d2f6addc6f03dc51a57c607677 Author: panbingkun <pbk1...@gmail.com> AuthorDate: Tue Jun 14 00:41:31 2022 -0700 [MINOR][SQL] Updated `ErrorInfo` and `ErrorSubInfo` comments and indentation ### What changes were proposed in this pull request? Correction comments & code style for ErrorSubInfo & ErrorInfo ### Why are the changes needed? Cleanup ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? N/A Closes #36865 from panbingkun/ERROR-INFO. Authored-by: panbingkun <pbk1...@gmail.com> Signed-off-by: Dongjoon Hyun <dongj...@apache.org> --- core/src/main/scala/org/apache/spark/ErrorInfo.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/main/scala/org/apache/spark/ErrorInfo.scala b/core/src/main/scala/org/apache/spark/ErrorInfo.scala index 6c6d51456ec..d98f5296fee 100644 --- a/core/src/main/scala/org/apache/spark/ErrorInfo.scala +++ b/core/src/main/scala/org/apache/spark/ErrorInfo.scala @@ -31,7 +31,6 @@ import org.apache.spark.util.Utils /** * Information associated with an error subclass. * - * @param subClass SubClass associated with this class. * @param message C-style message format compatible with printf. * The error message is constructed by concatenating the lines with newlines. */ @@ -45,13 +44,14 @@ private[spark] case class ErrorSubInfo(message: Seq[String]) { * Information associated with an error class. * * @param sqlState SQLSTATE associated with this class. - * @param subClass A sequence of subclasses + * @param subClass SubClass associated with this class. * @param message C-style message format compatible with printf. * The error message is constructed by concatenating the lines with newlines. */ -private[spark] case class ErrorInfo(message: Seq[String], - subClass: Option[Map[String, ErrorSubInfo]], - sqlState: Option[String]) { +private[spark] case class ErrorInfo( + message: Seq[String], + subClass: Option[Map[String, ErrorSubInfo]], + sqlState: Option[String]) { // For compatibility with multi-line error messages @JsonIgnore val messageFormat: String = message.mkString("\n") --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org