Remove superfluous final modifier #19493
This commit is contained in:
parent
0380cc517a
commit
032f712301
1 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ trait Signal
|
|||
* first signal.
|
||||
*/
|
||||
sealed abstract class PreRestart extends Signal
|
||||
final case object PreRestart extends PreRestart {
|
||||
case object PreRestart extends PreRestart {
|
||||
def instance: PreRestart = this
|
||||
}
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ final case object PreRestart extends PreRestart {
|
|||
* registered watchers after this signal has been processed.
|
||||
*/
|
||||
sealed abstract class PostStop extends Signal
|
||||
final case object PostStop extends PostStop {
|
||||
case object PostStop extends PostStop {
|
||||
def instance: PostStop = this
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue