jiangpengcheng commented on code in PR #5291:
URL: https://github.com/apache/openwhisk/pull/5291#discussion_r929492743
##########
core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/Scheduler.scala:
##########
@@ -389,6 +389,24 @@ case class SchedulerStates(sid: SchedulerInstanceId,
queueSize: Int, endpoints:
def getSchedulerId(): SchedulerInstanceId = sid
def serialize = SchedulerStates.serdes.write(this).compactPrint
+
+ def canEqual(a: Any) = a.isInstanceOf[SchedulerStates]
+
+ override def equals(that: Any): Boolean =
+ that match {
+ case that: SchedulerStates => {
+ that.canEqual(this) &&
Review Comment:
doesn't required either
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]