We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2721741 commit bab5c5bCopy full SHA for bab5c5b
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/RowEncoderSuite.scala
@@ -25,7 +25,7 @@ import org.apache.spark.unsafe.types.UTF8String
25
26
@SQLUserDefinedType(udt = classOf[ExamplePointUDT])
27
class ExamplePoint(val x: Double, val y: Double) extends Serializable {
28
- override def hashCode = 41 * (41 + x.toInt) + y.toInt
+ override def hashCode: Int = 41 * (41 + x.toInt) + y.toInt
29
override def equals(that: Any): Boolean = {
30
if (that.isInstanceOf[ExamplePoint]) {
31
val e = that.asInstanceOf[ExamplePoint]
0 commit comments