AMashenkov commented on code in PR #9753:
URL: https://github.com/apache/ignite/pull/9753#discussion_r921926512
##########
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridLuceneDirectory.java:
##########
@@ -71,7 +87,7 @@ public class GridLuceneDirectory extends BaseDirectory
implements Accountable {
List<String> names = new ArrayList<>(fileNames);
- return names.toArray(new String[names.size()]);
+ return names.toArray(STRINGS);
Review Comment:
```suggestion
return names.toArray(U.EMPTY_STRINGS);
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]