You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Niclas Hedhman (JIRA)" <ji...@apache.org> on 2017/06/15 07:42:00 UTC
[jira] [Commented] (POLYGENE-260) NamedAssociation.put() doesn't
mark DefaultEntityState "updated"
[ 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)