|
[
Permlink
| « Hide
]
Craig Russell added a comment - 09/Dec/06 03:43 AM
Please review this patch.
Here is the spec update for review.
package javax.jdo; class JDOHelper { /* Some applications might prefer to use an instance * method instead of static methods. */ public JDOHelper(); Add to the specification text:
The instance returned by the constructor is thread safe. It can be used from any number of threads without concern for synchronization. The patch and the spec updates look good. Just one comment: above you added the javadoc for the spec update. I propose to use the same javadoc in the implementation in api2 and api2-legacy.
Please review this patch. I've incorporated the getInstance change and added Javadoc.
The patch JDOHelper.diff looks good!
Just one comment: how about adding a comment to the test methods testConstructor and testGetInstance saying that the purpose of the test is calling the JDOHelper methods on the instance and making sure they do not throw an exception. Thanks for the review.
I've added javadoc and @since 2.1 to the two classes. I think it's done. svn commit -m "
Sending api20/src/java/javax/jdo/JDOHelper.java Transmitting file data . Committed revision 509807. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||