diff options
| author | Nyanmisaka <nst799610810@gmail.com> | 2020-12-12 02:36:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-12 02:36:31 +0800 |
| commit | d701b67de11f8bfcadddcb4b02e9cd28d113f5d6 (patch) | |
| tree | e3ee14de7fc97484c865b916ad92613a1c7553d1 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | 41218c5613ea7a83804f7b8ee0b61d315db45c0c (diff) | |
Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index d2f340cd3..1a47335ad 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -967,14 +967,12 @@ namespace Emby.Server.Implementations { return true; } - else - { - throw new FileNotFoundException( - string.Format( - CultureInfo.InvariantCulture, - "Certificate file '{0}' does not exist.", - newPath)); - } + + throw new FileNotFoundException( + string.Format( + CultureInfo.InvariantCulture, + "Certificate file '{0}' does not exist.", + newPath)); } return false; |
