Presumably deleteRecord must free up any lock i.e. there is no concept of a locked deleted record sounds like a no brainer but if there automatic tool says .. no then explaining your choice in choices.txt won't help ;-)
i.e. no need to ...
lockRecord deleteRecord unlockRecord // unecessary ?? / should fail with no such record
"Eagles may soar but weasels don't get sucked into jet engines" SCJP 1.6, SCWCD 1.4, SCJD 1.5,SCBCD 5
Alex Belisle Turcot
posted 8 years ago
Or perhaps you can check if the client holds the lock and allow unlocking it.
After all, if the client got the lock in the first place, then it means it was not deleted. So unlocking should be allowed.
Regards, Alex [ November 24, 2007: Message edited by: Alex Belisle Turcot ]