From db99983b3dff09303e97130d00528c94a244c9fe Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Tue, 14 May 2024 13:39:10 +0200 Subject: [PATCH] Remove obsolete constructor param --- .../xpack/profiling/action/SubGroupCollector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/profiling/src/main/java/org/elasticsearch/xpack/profiling/action/SubGroupCollector.java b/x-pack/plugin/profiling/src/main/java/org/elasticsearch/xpack/profiling/action/SubGroupCollector.java index 71650cb402348..63491a63243dc 100644 --- a/x-pack/plugin/profiling/src/main/java/org/elasticsearch/xpack/profiling/action/SubGroupCollector.java +++ b/x-pack/plugin/profiling/src/main/java/org/elasticsearch/xpack/profiling/action/SubGroupCollector.java @@ -33,12 +33,12 @@ public static SubGroupCollector attach( String[] aggregationFields, boolean legacyAggregationField ) { - SubGroupCollector c = new SubGroupCollector(parentAggregation, aggregationFields, legacyAggregationField); + SubGroupCollector c = new SubGroupCollector(aggregationFields, legacyAggregationField); c.addAggregations(parentAggregation); return c; } - private SubGroupCollector(AbstractAggregationBuilder parentAggregation, String[] aggregationFields, boolean legacyAggregationField) { + private SubGroupCollector(String[] aggregationFields, boolean legacyAggregationField) { this.aggregationFields = aggregationFields; this.legacyAggregationField = legacyAggregationField; }