[
https://jira.jboss.org/jira/browse/JBPM-2304?page=com.atlassian.jira.plug...
]
Tom Baeyens reassigned JBPM-2304:
---------------------------------
Assignee: Joram Barrez (was: Tom Baeyens)
controleer alle return values van methods in packages in
api/src/main/java/org/jbpm/api
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: Joram Barrez
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