Ryan Small

Greenhorn
+ Follow
since Jun 09, 2011
Ryan likes ...
Netbeans IDE Eclipse IDE Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ryan Small

Assuming that I have a class named Service, how would I write a reference to the plural form of it in the Javadoc?

1. It doesn't seem right to use {@code Services} since "Services" isn't a class.
2. It seems even more awkward to write {@code Service}s.

You can always override the inherited documentation. For instance:



This would override the documentation for just the DuplicateKeyException.

Sean Keane wrote:
so it's not clear to me how his lock method could know if a client already holds a lock on a particular record...



A common scheme I've seen is to use the thread's ID.