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();
|
parentBusinessProcessId = task.getParentBusinessProcessId();
|
||||||
domain = task.getDomain();
|
domain = task.getDomain();
|
||||||
workbasketKey = task.getWorkbasketSummary().getKey();
|
workbasketKey = task.getWorkbasketSummary().getKey();
|
||||||
taskClassificationCategory = task.getClassificationSummary().getCategory();
|
|
||||||
if (task.getClassificationSummary() != null) {
|
if (task.getClassificationSummary() != null) {
|
||||||
|
taskClassificationCategory = task.getClassificationSummary().getCategory();
|
||||||
taskClassificationKey = task.getClassificationSummary().getKey();
|
taskClassificationKey = task.getClassificationSummary().getKey();
|
||||||
}
|
}
|
||||||
if (!task.getAttachmentSummaries().isEmpty()) {
|
if (!task.getAttachmentSummaries().isEmpty()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue