[jira] Commented: (JDO-528) JDOHelper.getObjectState() :
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Commented: (JDO-528) JDOHelper.getObjectState() :




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (JDO-528) JDOHelper.getObjectState() :  
Craig Russell (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:38 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register