Skip to content
Snippets Groups Projects
Commit 9dc3e602 authored by Michał Kiełbowicz's avatar Michał Kiełbowicz Committed by Reynold Xin
Browse files

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 <jupblb@users.noreply.github.com>

Closes #14569 from jupblb/typo-fix.
parent 121643bc
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment