Skip to content

Commit

Permalink
Made it compile for java 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Oct 21, 2024
1 parent 5916281 commit 5db0c83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ default void cayleyTable(AlgebraicBinaryOperator op, Consumer<String[]> lineCons
streamable.stream().forEach(e2 -> {
line.add(op.apply(e1, e2).toString());
});
lineConsumer.accept(line.toArray(String[]::new));
lineConsumer.accept(line.toArray(new String[line.size()]));
line.clear();
}
);
Expand Down

0 comments on commit 5db0c83

Please sign in to comment.