"tom.baeyens(a)jboss.com" wrote : does that describe the consensus ?
I think it does. Although I would have task.complete(null) behave the same as
task.complete(). Just have it always take the default transition. If there is only one
(named or unnamed) that already *is* the default transition.
I'll file the jira if this is decided on.
With regard to the 'default' attribute, I'm always in favour of explicit
behaviour. One could argue that if there is more then one transition and task.complete()
or task.complete(null) is used and the default attribute is not there, an exception should
be thrown.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241831#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...