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 44f3127 commit 5916281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ default void cayleyTable(AlgebraicBinaryOperator op, Consumer<String[]> lineCons
Streamable<E> streamable = (Streamable<E>) this;
streamable.stream().forEach(e ->
line.add(e.toString()));
lineConsumer.accept(line.toArray(String[]::new));
lineConsumer.accept(line.toArray(new String[line.size()]));
line.clear();
streamable.stream().forEach(e1 -> {
line.add(e1.toString());
Expand Down

0 comments on commit 5916281

Please sign in to comment.