Skip to content

Commit

Permalink
[SPARK-44880][UI] Remove unnecessary right curly brace at the end of …
Browse files Browse the repository at this point in the history
…the thread locks info

### What changes were proposed in this pull request?

Remove unnecessary curly braces at the end of the thread locks info.

### Why are the changes needed?

<img width="1405" alt="image" src="https://github.com/apache/spark/assets/8326978/34bb71e9-1982-4856-bb55-e10cd6fcf707">

the right curly brace is dangling.

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

existing ut

### Was this patch authored or co-authored using generative AI tooling?

no

Closes #42571 from yaooqinn/SPARK-44880.

Authored-by: Kent Yao <yao@apache.org>
Signed-off-by: Yuming Wang <yumwang@ebay.com>
  • Loading branch information
yaooqinn authored and wangyum committed Aug 20, 2023
1 parent 2e2f5e9 commit 3f380b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/org/apache/spark/util/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2109,9 +2109,9 @@ private[spark] object Utils
def lockString: String = {
lock match {
case monitor: MonitorInfo =>
s"Monitor(${lock.getClassName}@${lock.getIdentityHashCode}})"
s"Monitor(${lock.getClassName}@${monitor.getIdentityHashCode})"
case _ =>
s"Lock(${lock.getClassName}@${lock.getIdentityHashCode}})"
s"Lock(${lock.getClassName}@${lock.getIdentityHashCode})"
}
}
}
Expand Down

0 comments on commit 3f380b9

Please sign in to comment.