You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2006/09/23 14:57:23 UTC

[jira] Updated: (SM-592) notifier.run() missing from DefaultState

     [ https://issues.apache.org/activemq/browse/SM-592?page=all ]

Guillaume Nodet updated SM-592:
-------------------------------

        Fix Version/s: 3.0.1
                       3.1
                           (was: incubation)
    Affects Version/s: 3.0
                           (was: incubation)

> notifier.run() missing from DefaultState
> ----------------------------------------
>
>                 Key: SM-592
>                 URL: https://issues.apache.org/activemq/browse/SM-592
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: beanflow
>    Affects Versions: 3.0
>         Environment: linux, jdk1.5
>            Reporter: Roger Menday
>             Fix For: 3.0.1, 3.1
>
>
> In
> org.apache.servicemix.beanflow.DefaultState
> there seems to be a notifier call missed out from the compareAndSet method 
>  public boolean compareAndSet(T expected, T newValue) {
>         synchronized (lock) {
>             if (equals(value, expected)) {
>                 this.value = newValue;
> **
>                 notifier.run();
> **
>                return true;
>             }
>         }
>         return false;
>     }

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