09-20-07 12:11 AM
[ https://issues.apache.org/jira/brow...action_12528878 ]
Craig Russell commented on JDO-528:
-----------------------------------
Looks good; just a comment or two:
Reading the language spec, it might be better if we make the ObjectState con
structor private, i.e.
+ ObjectState(String value) {
+ this.value = value;
+ }
+
becomes
+ private ObjectState(String value) {
+ this.value = value;
+ }
+
Curious that there is no example in the language specification that has an e
xample of this kind of usage.
And there's no newline at end of file. And the file should be svn:eol-style=
LF.
Updates to JDOHelper look good, although the algorithm for persistent transa
ctional could be tighter.
[vbcol=seagreen]
> JDOHelper.getObjectState() : convenience method to return the state of an
object
> --------------------------------------------------------------------------
------
>
> Key: JDO-528
> URL: https://issues.apache.org/jira/browse/JDO-528
> Project: JDO
> Issue Type: New Feature
> Components: api2
> Reporter: Andy Jefferson
> Priority: Minor
> Fix For: JDO 2 maintenance release 1
>
> Attachments: JDOHelper.patch, ObjectState.patch
>
>
> As discussed on the jdo-dev mailing list cerca 5th August 2007, it would be desira
ble for JDOHelper to have a method to return the object "state" of a passed object.[
/vbcol]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[ Post a follow-up to this message ]
|