[
https://jira.jboss.org/jira/browse/JBPM-2304?page=com.atlassian.jira.plug...
]
Tom Baeyens commented on JBPM-2304:
-----------------------------------
mostly this is in the process definition domain model, which should be pruned as much as
possible
investigate non-null return values for collections in the api
--------------------------------------------------------------
Key: JBPM-2304
URL:
https://jira.jboss.org/jira/browse/JBPM-2304
Project: JBoss jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Runtime Engine
Reporter: Tom Baeyens
Assignee: Tom Baeyens
Fix For: jBPM 4.0
check if we can let all collections in the api return non null values
one spot where this has shown up is in the console class ModelAdapter:
ExecutionImpl openTopLevelExecution = (ExecutionImpl) topLevelExecution;
List<Transition> outTransitions =
openTopLevelExecution.getActivity().getOutgoingTransitions();
if(outTransitions!=null) // crappy jBPM API
{
for(Transition t : outTransitions)
{
// TODO: Fix when
https://jira.jboss.org/jira/browse/JBPM-2220 is done
String transitionName = t.getName()!=null ? t.getName() :
"to_"+t.getDestination().getName();
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira