Repository: spark
Updated Branches:
  refs/heads/master 121643bc7 -> 9dc3e602d


Fixed typo

## What changes were proposed in this pull request?

Fixed small typo - "value ... ~~in~~ is null"

## How was this patch tested?

Still compiles!

Author: Michał Kiełbowicz <jup...@users.noreply.github.com>

Closes #14569 from jupblb/typo-fix.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/9dc3e602
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/9dc3e602
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/9dc3e602

Branch: refs/heads/master
Commit: 9dc3e602d77ccdf670f1b6648e5674066d189cc0
Parents: 121643b
Author: Michał Kiełbowicz <jup...@users.noreply.github.com>
Authored: Tue Aug 9 23:01:50 2016 -0700
Committer: Reynold Xin <r...@databricks.com>
Committed: Tue Aug 9 23:01:50 2016 -0700

----------------------------------------------------------------------
 sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/9dc3e602/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala
----------------------------------------------------------------------
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala 
b/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala
index d83eef7..e16850e 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala
@@ -463,6 +463,6 @@ trait Row extends Serializable {
    * @throws NullPointerException when value is null.
    */
   private def getAnyValAs[T <: AnyVal](i: Int): T =
-    if (isNullAt(i)) throw new NullPointerException(s"Value at index $i in 
null")
+    if (isNullAt(i)) throw new NullPointerException(s"Value at index $i is 
null")
     else getAs[T](i)
 }


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

Reply via email to