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: incubation
         Environment: linux, jdk1.5
            Reporter: Roger Menday
             Fix For: incubation


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

        

Reply via email to