Skip to content

Commit

Permalink
npe fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Oct 12, 2017
1 parent bf65d0b commit 10ca1a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -103,8 +103,8 @@ public void populateItem(Item<ICellPopulator<ContainerValueWrapper<AssignmentTyp
public void populateItem(Item<ICellPopulator<ContainerValueWrapper<AssignmentType>>> cellItem, String componentId,
final IModel<ContainerValueWrapper<AssignmentType>> rowModel) {
PolicyRuleType policyRuleType = rowModel.getObject().getContainerValue().getValue().getPolicyRule();
// String action = PolicyRuleTypeUtil.toShortString(policyRuleType.getPolicyActions());
// cellItem.add(new MultiLineLabel(componentId, Model.of(action != null && !action.equals("null") ? action : "")));
String action = PolicyRuleTypeUtil.toShortString(policyRuleType.getPolicyActions(), new ArrayList<>());
cellItem.add(new MultiLineLabel(componentId, Model.of(action != null && !action.equals("null") ? action : "")));
}

});
Expand Down
Empty file.

0 comments on commit 10ca1a8

Please sign in to comment.