Skip to content

Commit

Permalink
[fix] Alterado expressão lambda (não é possível usar esse lambda no j…
Browse files Browse the repository at this point in the history
…dk 8)
  • Loading branch information
Cristian-Sknz committed Feb 6, 2021
1 parent e2e7060 commit c1d2564
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class ActiveItems implements CustomList<ActiveItem>{
private final ActiveItem[] shopItems;

public ActiveItems(List<ActiveItem> itens) {
this.shopItems = itens.toArray(ActiveItem[]::new);
this.shopItems = itens.toArray(new ActiveItem[0]);
}

@Nonnull
Expand Down

0 comments on commit c1d2564

Please sign in to comment.