Skip to content

Commit ff173a0

Browse files
committed
improve consistancy
Signed-off-by: Neil South <[email protected]>
1 parent 2e19fec commit ff173a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InformaticsGateway/Services/Http/MonaiAeTitleController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ private async Task ValidateCreateAsync(MonaiApplicationEntity item)
231231
{
232232
throw new ObjectExistsException($"A MONAI Application Entity with the same AE Title '{item.AeTitle}' already exists.");
233233
}
234-
if (item.IgnoredSopClasses.Count != 0 && item.AllowedSopClasses.Count != 0)
234+
if (item.IgnoredSopClasses.Count != 0 && item.AllowedSopClasses.Count is not 0)
235235
{
236236
throw new ConfigurationException($"Cannot specify both allowed and ignored SOP classes at the same time, they are mutually exclusive.");
237237
}

0 commit comments

Comments
 (0)