mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Use collection expression syntax.
This commit is contained in:
@@ -113,7 +113,7 @@ public static class Base32
|
||||
if(base32String == null) return null;
|
||||
|
||||
// Check if empty
|
||||
if(base32String == string.Empty) return new byte[0];
|
||||
if(base32String == string.Empty) return [];
|
||||
|
||||
// Convert to upper-case
|
||||
string base32StringUpperCase = base32String.ToUpperInvariant();
|
||||
|
||||
Reference in New Issue
Block a user