mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Get rid of all ContainerUtil#toArray occurrences
This commit is contained in:
@@ -133,7 +133,7 @@ public class BuildArtifactAction extends DumbAwareAction {
|
||||
for (ArtifactPopupItem item : items) {
|
||||
artifacts.addAll(item.getArtifacts(project));
|
||||
}
|
||||
return ContainerUtil.toArray(artifacts, new Artifact[artifacts.size()]);
|
||||
return artifacts.toArray(new Artifact[0]);
|
||||
}
|
||||
|
||||
private static class BuildArtifactItem extends ArtifactActionItem {
|
||||
|
||||
Reference in New Issue
Block a user