Skip to content

Commit fac5fae

Browse files
committed
Remove unnecessary method receiver.
1 parent d306e60 commit fac5fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/ScalaReflectionSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ class ScalaReflectionSuite extends FunSuite {
133133
}
134134

135135
test("generic data") {
136-
val schema = ScalaReflection.schemaFor[GenericData[Int]]
136+
val schema = schemaFor[GenericData[Int]]
137137
assert(schema === Schema(
138138
StructType(Seq(
139139
StructField("genericField", IntegerType, nullable = false))),
140140
nullable = true))
141141
}
142142

143143
test("tuple data") {
144-
val schema = ScalaReflection.schemaFor[(Int, String)]
144+
val schema = schemaFor[(Int, String)]
145145
assert(schema === Schema(
146146
StructType(Seq(
147147
StructField("_1", IntegerType, nullable = false),

0 commit comments

Comments
 (0)