Skip to content

Conversation

kahgoh
Copy link
Member

@kahgoh kahgoh commented Oct 7, 2025

Resolves #2711

pull request


Reviewer Resources:

Track Policies

@kahgoh kahgoh requested a review from jagdish-15 October 7, 2025 13:04
@kahgoh kahgoh force-pushed the approach/bank-account branch from 5c45161 to 43a2d4b Compare October 7, 2025 13:19
If any other thread holds a lock on the `BankAccount` object, it must wait for the other thread to release the lock.

~~~~exercism/note
In Java, the is one other way to acquire a lock on the `BankAccount` objct - synchronized objects.
Copy link
Member

@jagdish-15 jagdish-15 Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In Java, the is one other way to acquire a lock on the `BankAccount` objct - synchronized objects.
In Java, there is one other way to acquire a lock on the `BankAccount` object - synchronized statements.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reading this again, I think it might be better to somehow use the term "Synchronized statements" to be consistent with the "Synchronized statements" approach. I'll edit this note accordingly.

kahgoh and others added 3 commits October 8, 2025 16:50
Co-authored-by: Jagdish Prajapati <[email protected]>
This is to be more consistent with the terminology used in the "synchronized statements" approach.
@kahgoh kahgoh requested a review from jagdish-15 October 8, 2025 09:07
Copy link
Member

@jagdish-15 jagdish-15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just these two tiny things:

kahgoh and others added 3 commits October 9, 2025 17:25
@jagdish-15 jagdish-15 merged commit 88288da into exercism:main Oct 9, 2025
3 checks passed
@kahgoh kahgoh deleted the approach/bank-account branch October 9, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

#48in24: Add approaches to Bank Account

2 participants