Skip to content

Commit

Permalink
A minor format problem
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqi1129 committed Jan 14, 2025
1 parent ec0ef6e commit 2164e5c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ void checkDeadLock(TreeLockNode node) {
threadIdentifier,
node,
// SimpleDateFormat is not thread-safe, so we should create a new instance for
// each
// time
// each time
new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
.format(node.getHoldingThreadTimestamp()));
}
Expand Down

0 comments on commit 2164e5c

Please sign in to comment.