Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
5.2.0.M1
-
None
Description
Not really a bug but a proposal of improvement:
Example:
ksession.startProcess("myprocess", Collections.singletonMap("myParam", "paramValue"));
-> Then Eclipse displays an error: "The method startProcess(String, Map<String, Object>) in the type ProcessRuntime is not applicable for the arguments (String, Map<String,String>)"
The signature of startProcess should be instead:
ProcessInstance startProcess(String processId, Map<String, ?> parameters);
Wildcards documentation: http://download.oracle.com/javase/tutorial/extra/generics/wildcards.html