mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Clean up based on .NET Core 3.1 reccomendations
This commit is contained in:
@@ -153,9 +153,8 @@ namespace SabreTools.Filtering
|
||||
{
|
||||
if (straw is string)
|
||||
{
|
||||
string needleString = needle as string;
|
||||
string strawString = straw as string;
|
||||
if (!string.IsNullOrWhiteSpace(strawString) && needleString != null)
|
||||
if (!string.IsNullOrWhiteSpace(strawString) && needle is string needleString)
|
||||
{
|
||||
string regexStraw = strawString;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user