Skip to content

Commit 81b4c32

Browse files
author
TanyaEf
committed
Merge branch 'develop'
2 parents a061a19 + 7654dae commit 81b4c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/jaspersoft/jasperserver/jaxrs/client/dto/settings/DashboardSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public DashboardSettings() {
1414
}
1515

1616
public DashboardSettings(DashboardSettings other) {
17-
this.newItemsRegistry = new LinkedList<ItemRegistry>(other.newItemsRegistry);
17+
this.newItemsRegistry = (other.newItemsRegistry != null) ? new LinkedList<ItemRegistry>(other.newItemsRegistry) : null;
1818
}
1919

2020
public List<ItemRegistry> getNewItemsRegistry() {

0 commit comments

Comments
 (0)