Skip to content

Commit 628cebd

Browse files
committed
Code Quality Update - Change visibility to readonly
1 parent b7ba1db commit 628cebd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

QueryDB/Exceptions/QueryDBException.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ internal static class ErrorType
5353
/// <summary>
5454
/// Error type indicating an unsupported command.
5555
/// </summary>
56-
internal static string UnsupportedCommand = "UnsupportedCommand";
56+
internal static readonly string UnsupportedCommand = "UnsupportedCommand";
5757
}
5858

5959
/// <summary>
@@ -64,7 +64,7 @@ internal static class ErrorMessage
6464
/// <summary>
6565
/// Error message indicating that SELECT queries are not supported.
6666
/// </summary>
67-
internal static string UnsupportedSelectExecuteCommand = "SELECT queries are not supported here.";
67+
internal static readonly string UnsupportedSelectExecuteCommand = "SELECT queries are not supported here.";
6868
}
6969

7070
/// <summary>
@@ -75,7 +75,7 @@ internal static class AdditionalInfo
7575
/// <summary>
7676
/// Additional information about unsupported SELECT queries in 'ExecuteCommand'.
7777
/// </summary>
78-
internal static string UnsupportedSelectExecuteCommand = "'ExecuteCommand' doesn't support SELECT queries.";
78+
internal static readonly string UnsupportedSelectExecuteCommand = "'ExecuteCommand' doesn't support SELECT queries.";
7979
}
8080
}
8181
}

0 commit comments

Comments
 (0)