AMashenkov commented on a change in pull request #8277:
URL: https://github.com/apache/ignite/pull/8277#discussion_r498759250
##########
File path:
modules/cassandra/store/src/main/java/org/apache/ignite/cache/store/cassandra/persistence/PersistenceSettings.java
##########
@@ -544,14 +544,14 @@ private void readObject(java.io.ObjectInputStream in)
throws IOException, ClassN
*/
protected List<F> enrichFields(List<F> src) {
if (src != null) {
- List<F> enriched = new ArrayList<>(src.size());
+ List<F> enriched = new ArrayList<>();
Review comment:
Why are you drop ArrayList initial size to default one?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]