Skip to content

Commit

Permalink
Merge pull request #1089 from cinsttool/master
Browse files Browse the repository at this point in the history
Fix container inefficiency in GenericFastaHeaderParser.java
  • Loading branch information
josemduarte committed Apr 23, 2024
2 parents 266d835 + 21c0434 commit e7c31d7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -93,9 +93,9 @@ private String[] getHeaderValues(String header) {
sb.append(header.charAt(i));
}

data = new String[values.size()];
values.toArray(data);
}
data = new String[values.size()];
values.toArray(data);
} else {
data = header.split(" ");
}
Expand Down

0 comments on commit e7c31d7

Please sign in to comment.