Skip to content

Commit 640e7dc

Browse files
committed
Remove redundant ()
1 parent 8fc8afe commit 640e7dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Microsoft.OpenApi/Services/OpenApiFilterService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Microsoft Corporation. All rights reserved.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license.
33

44
using System;
@@ -118,7 +118,7 @@ public static OpenApiDocument CreateFilteredDocument(OpenApiDocument source, Fun
118118
// Fetch and copy title, graphVersion and server info from OpenApiDoc
119119
var subset = new OpenApiDocument
120120
{
121-
Info = new OpenApiInfo()
121+
Info = new OpenApiInfo
122122
{
123123
Title = source.Info.Title + " - Subset",
124124
Description = source.Info.Description,
@@ -209,7 +209,7 @@ public static Dictionary<string, List<string>> ParseJsonCollectionFile(Stream st
209209

210210
if (!requestUrls.ContainsKey(path))
211211
{
212-
requestUrls.Add(path, new List<string>() { method });
212+
requestUrls.Add(path, new List<string> { method });
213213
}
214214
else
215215
{

0 commit comments

Comments
 (0)