aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServicePath.cs
diff options
context:
space:
mode:
authortelans <telans@protonmail.com>2020-06-20 21:12:36 +1200
committertelans <telans@protonmail.com>2020-06-20 21:12:36 +1200
commit7f307f9082cb4be296e745c2c066334858f000af (patch)
tree4f5e3ca5a628624f631ccf1da9deeed90481d9bc /Emby.Server.Implementations/Services/ServicePath.cs
parent98db8f72e01b608e6c384ecf5b107fc2d105b652 (diff)
brace multiline if statements
Diffstat (limited to 'Emby.Server.Implementations/Services/ServicePath.cs')
-rw-r--r--Emby.Server.Implementations/Services/ServicePath.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Services/ServicePath.cs b/Emby.Server.Implementations/Services/ServicePath.cs
index eb0744189..89538ae72 100644
--- a/Emby.Server.Implementations/Services/ServicePath.cs
+++ b/Emby.Server.Implementations/Services/ServicePath.cs
@@ -445,12 +445,14 @@ namespace Emby.Server.Implementations.Services
&& requestComponents.Length >= this.TotalComponentsCount - this.wildcardCount;
if (!isValidWildCardPath)
+ {
throw new ArgumentException(
string.Format(
CultureInfo.InvariantCulture,
"Path Mismatch: Request Path '{0}' has invalid number of components compared to: '{1}'",
pathInfo,
this.restPath));
+ }
}
var requestKeyValuesMap = new Dictionary<string, string>();