TSK-1409: Remove possible Nullpointer in TaskHistoryEvent
This commit is contained in:
parent
b23c6873db
commit
358da98ddf
|
@ -45,8 +45,8 @@ public class TaskHistoryEvent {
|
|||
parentBusinessProcessId = task.getParentBusinessProcessId();
|
||||
domain = task.getDomain();
|
||||
workbasketKey = task.getWorkbasketSummary().getKey();
|
||||
taskClassificationCategory = task.getClassificationSummary().getCategory();
|
||||
if (task.getClassificationSummary() != null) {
|
||||
taskClassificationCategory = task.getClassificationSummary().getCategory();
|
||||
taskClassificationKey = task.getClassificationSummary().getKey();
|
||||
}
|
||||
if (!task.getAttachmentSummaries().isEmpty()) {
|
||||
|
|
Loading…
Reference in New Issue