Skip to content

Commit 15e1816

Browse files
committed
Remove duplicated code
1 parent e5959ed commit 15e1816

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/Nest/DSL/IndicesStatsDescriptor.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,6 @@ public IndicesStatsDescriptor Metrics(params IndicesStatsMetric[] metrics)
6565

6666
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo<IndicesStatsRequestParameters> pathInfo)
6767
{
68-
if (Self.Types != null)
69-
{
70-
var typeNameMarkers = Self.Types as TypeNameMarker[] ?? Self.Types.ToArray();
71-
if (typeNameMarkers.HasAny())
72-
{
73-
var inferrer = new ElasticInferrer(settings);
74-
pathInfo.RequestParameters.AddQueryString("types", inferrer.TypeNames(typeNameMarkers));
75-
}
76-
}
7768
IndicesStatsPathInfo.Update(settings, pathInfo, this);
7869
}
7970
}

0 commit comments

Comments
 (0)