[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-962) optimisticValidation unnecessarily checks DataVersion types during simpleValidate() - should delegate this to the DataVersion impl

Manik Surtani (JIRA) jira-events at jboss.com
Wed Jan 31 11:43:34 EST 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-962?page=all ]

Manik Surtani closed JBCACHE-962.
---------------------------------

    Resolution: Done

> optimisticValidation unnecessarily checks DataVersion types during simpleValidate() - should delegate this to the DataVersion impl
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBCACHE-962
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-962
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.4.1.GA, 2.0.0.ALPHA2
>            Reporter: Manik Surtani
>         Assigned To: Manik Surtani
>             Fix For: 2.0.0.BETA1, 2.0.0.GA, 1.4.1.SP1
>
>
> Should not bother comparing DataVersion types and barfing upon mismatch.  We will do a DataVersion.newerThan() anyway immediately after.  We should just let the DataVersion impl barf of there is a type mismatch.  
> Reason being, dummy types can be used that don't care about such mismatches and always rtn true.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list