Skip to content

Commit ca75f44

Browse files
committed
Apply the comment.
1 parent 8252a58 commit ca75f44

File tree

1 file changed

+0
-3
lines changed
  • core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler

1 file changed

+0
-3
lines changed

core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/Scheduler.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,12 +390,9 @@ case class SchedulerStates(sid: SchedulerInstanceId, queueSize: Int, endpoints:
390390

391391
def serialize = SchedulerStates.serdes.write(this).compactPrint
392392

393-
def canEqual(a: Any) = a.isInstanceOf[SchedulerStates]
394-
395393
override def equals(that: Any): Boolean =
396394
that match {
397395
case that: SchedulerStates => {
398-
that.canEqual(this) &&
399396
this.queueSize == that.queueSize
400397
}
401398
case _ => false

0 commit comments

Comments
 (0)