polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (POLYGENE-260) NamedAssociation.put() doesn't mark DefaultEntityState "updated"
Date Thu, 15 Jun 2017 07:42:00 GMT

    [ https://issues.apache.org/jira/browse/POLYGENE-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050102#comment-16050102
] 

Niclas Hedhman commented on POLYGENE-260:
-----------------------------------------

The documentation of what the boolean return value really means is also "unclear" saying "true
if the value has been putted", which is both bad English as well as ambiguous. 

I am changing that to;

{code}
     * @return true if value has been updated to a new value.
{code}

> NamedAssociation.put() doesn't mark DefaultEntityState "updated"
> ----------------------------------------------------------------
>
>                 Key: POLYGENE-260
>                 URL: https://issues.apache.org/jira/browse/POLYGENE-260
>             Project: Polygene
>          Issue Type: Bug
>            Reporter: Niclas Hedhman
>            Assignee: Niclas Hedhman
>             Fix For: 3.0.0
>
>
> The UPDATED is missed in DefaultEntityState if a new NamedAssociation is put(), because
if no previous value was in the Map, the method returns with false prematurely.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message