Skip to content

Commit d99978f

Browse files
committed
Use short initializer
1 parent a72f938 commit d99978f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Licensing/SystemEntitlementsConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public Validation<Error, SystemEntitlements> Convert(
129129
entitlementsData.CountryCodes.ForEach(x => this.ValidateCountryCode(x, errors.Add));
130130
}
131131

132-
var countries = (entitlementsData.CountryCodes ?? new List<string>())
132+
var countries = (entitlementsData.CountryCodes ?? [])
133133
.Choose(x => this.CreateRegion(x, errors.Add))
134134
.ToSeq();
135135

0 commit comments

Comments
 (0)