Skip to content

Commit

Permalink
Checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitterdorfer committed Feb 12, 2024
1 parent 0508e9d commit 7ef1f7d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import org.elasticsearch.action.support.IndicesOptions;
import org.elasticsearch.action.support.TransportAction;
import org.elasticsearch.common.ParsingException;
import org.elasticsearch.common.Strings;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.index.query.QueryBuilder;
import org.elasticsearch.tasks.CancellableTask;
Expand Down Expand Up @@ -246,7 +245,7 @@ private String[] parseIndices(XContentParser parser) throws IOException {
);
}
}
return indices.toArray(new String[0]);
return indices.toArray(new String[indices.size()]);
}

@Override
Expand Down

0 comments on commit 7ef1f7d

Please sign in to comment.