Skip to content

Commit

Permalink
seal classes and private fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maya-Painter committed Aug 23, 2023
1 parent f19bafc commit e08aff7
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ namespace Microsoft.Azure.Cosmos.Query.Core.Metrics
{
using System;
using System.Collections.Generic;
using System.Linq;

internal class ClientSideMetricsAccumulator
internal sealed class ClientSideMetricsAccumulator
{
private readonly List<ClientSideMetrics> clientSideMetricsList;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ namespace Microsoft.Azure.Cosmos.Query.Core.Metrics
{
using System;
using System.Collections.Generic;
using System.Linq;

internal class IndexUtilizationInfoAccumulator
internal sealed class IndexUtilizationInfoAccumulator
{
private readonly List<IndexUtilizationInfo> indexUtilizationInfoList;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Microsoft.Azure.Cosmos.Query.Core.Metrics
using System;
using System.Collections.Generic;

internal class QueryMetricsAccumulator
internal sealed class QueryMetricsAccumulator
{
private readonly List<QueryMetrics> queryMetricsList;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Microsoft.Azure.Cosmos.Query.Core.Metrics
using System;
using System.Collections.Generic;

internal class QueryPreparationTimesAccumulator
internal sealed class QueryPreparationTimesAccumulator
{
private readonly List<QueryPreparationTimesInternal> queryPreparationTimesList;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Microsoft.Azure.Cosmos.Query.Core.Metrics
using System;
using System.Collections.Generic;

internal class RuntimeExecutionTimesAccumulator
internal sealed class RuntimeExecutionTimesAccumulator
{
private readonly List<RuntimeExecutionTimesInternal> runtimeExecutionTimesList;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ namespace Microsoft.Azure.Cosmos.Query.Core.Metrics
using System;
using System.Collections.Generic;

internal class ServerSideMetricsAccumulator
internal sealed class ServerSideMetricsAccumulator
{
internal readonly List<ServerSideMetrics> serverSideMetricsList;
private readonly List<ServerSideMetrics> serverSideMetricsList;

public ServerSideMetricsAccumulator()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ namespace Microsoft.Azure.Cosmos.Query.Core.Metrics
using Microsoft.Azure.Cosmos.Tracing;
using Microsoft.Azure.Cosmos.Tracing.TraceData;

internal class ServerSideMetricsInternalAccumulator
internal sealed class ServerSideMetricsInternalAccumulator
{
internal readonly List<ServerSideMetricsInternal> serverSideMetricsList;
private readonly List<ServerSideMetricsInternal> serverSideMetricsList;

public ServerSideMetricsInternalAccumulator()
{
Expand Down

0 comments on commit e08aff7

Please sign in to comment.