Skip to content

Commit

Permalink
Use java 8 way to convert typed list to array in GeneticAlterationInc…
Browse files Browse the repository at this point in the history
…rementalImporter
  • Loading branch information
forus committed Jun 21, 2024
1 parent f120f5d commit 602cc24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private String[] extendValues(int geneticEntityId, String[] values) {
}

private Map<Integer, String> mapWithFileOrderedSampleList(String[] values) {
return ArrayUtil.zip(fileOrderedSampleList.toArray(new Integer[0]), values);
return ArrayUtil.zip(fileOrderedSampleList.toArray(Integer[]::new), values);
}

private void expandRemainingGeneticEntityTabDelimitedRowsWithBlankValue() {
Expand Down

0 comments on commit 602cc24

Please sign in to comment.