Skip to content

Commit

Permalink
Merged PR 10239: Commenting out a constant which is not used
Browse files Browse the repository at this point in the history
Commenting out a constant which is not used

----
#### AI-Generated Description
The pull request contains only one change: a line of code was removed from the file **LogMessages.cs**. The removed line was:

- `public const string IDX10815 = "IDX10815: Depth of JSON: '{0}' exceeds max depth of '{1}'.";`

This line defined a constant string for an error message related to JSON depth. The reason for removing this line is not clear from the pull request content.
  • Loading branch information
Jean-Marc Prieur authored and Brent Schmaltz committed Oct 14, 2023
1 parent e06dc84 commit 4845cf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.IdentityModel.Tokens/LogMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ internal static class LogMessages
public const string IDX10812 = "IDX10812: Unable to create a {0} from the properties found in the JsonWebKey: '{1}'.";
public const string IDX10813 = "IDX10813: Unable to create a {0} from the properties found in the JsonWebKey: '{1}', Exception '{2}'.";
public const string IDX10814 = "IDX10814: Unable to create a {0} from the properties found in the JsonWebKey: '{1}'. Missing: '{2}'.";
public const string IDX10815 = "IDX10815: Depth of JSON: '{0}' exceeds max depth of '{1}'.";
//public const string IDX10815 = "IDX10815: Depth of JSON: '{0}' exceeds max depth of '{1}'.";
public const string IDX10816 = "IDX10816: Decompressing would result in a token with a size greater than allowed. Maximum size allowed: '{0}'.";

// Base64UrlEncoding
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<PropertyGroup>
<!-- This test only needs to run on .NET -->
<TargetFrameworks>net6.0</TargetFrameworks>
<LangVersion>10</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 4845cf1

Please sign in to comment.