Skip to content

Commit bab5c5b

Browse files
committed
Fix scala style.
1 parent 2721741 commit bab5c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/RowEncoderSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import org.apache.spark.unsafe.types.UTF8String
2525

2626
@SQLUserDefinedType(udt = classOf[ExamplePointUDT])
2727
class ExamplePoint(val x: Double, val y: Double) extends Serializable {
28-
override def hashCode = 41 * (41 + x.toInt) + y.toInt
28+
override def hashCode: Int = 41 * (41 + x.toInt) + y.toInt
2929
override def equals(that: Any): Boolean = {
3030
if (that.isInstanceOf[ExamplePoint]) {
3131
val e = that.asInstanceOf[ExamplePoint]

0 commit comments

Comments
 (0)