2
0
Эх сурвалжийг харах

Apply suggestions from code review

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Nyanmisaka 4 жил өмнө
parent
commit
d701b67de1

+ 6 - 8
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;