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/25 09:53:23 UTC

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

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

Guillaume Nodet resolved SM-592.
--------------------------------

    Resolution: Fixed
      Assignee: Guillaume Nodet

Author: gnodet
Date: Mon Sep 25 00:54:34 2006
New Revision: 449594

URL: http://svn.apache.org/viewvc?view=rev&rev=449594
Log:
SM-592: notifier.run() missing from DefaultState

Modified:
   incubator/servicemix/branches/servicemix-3.0/servicemix-beanflow/src/main/java/org/apache/servicemix/beanflow/DefaultState.java


Author: gnodet
Date: Mon Sep 25 00:54:36 2006
New Revision: 449595

URL: http://svn.apache.org/viewvc?view=rev&rev=449595
Log:
SM-592: notifier.run() missing from DefaultState

Modified:
   incubator/servicemix/trunk/servicemix-beanflow/src/main/java/org/apache/servicemix/beanflow/DefaultState.java


> 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
>         Assigned To: Guillaume Nodet
>             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