Quellcode durchsuchen

Put Boolean operators at beginning of lines instead of the end

Mark Monteiro vor 5 Jahren
Ursprung
Commit
de634203d8
1 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. 5 5
      Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

+ 5 - 5
Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

@@ -548,11 +548,11 @@ namespace Emby.Server.Implementations.HttpServer
                 }
                 }
 
 
                 bool ignoreStackTrace =
                 bool ignoreStackTrace =
-                    ex is SocketException ||
-                    ex is IOException ||
-                    ex is OperationCanceledException ||
-                    ex is SecurityException ||
-                    ex is FileNotFoundException;
+                    ex is SocketException
+                    || ex is IOException
+                    || ex is OperationCanceledException
+                    || ex is SecurityException
+                    || ex is FileNotFoundException;
                 await ErrorHandler(ex, httpReq, ignoreStackTrace).ConfigureAwait(false);
                 await ErrorHandler(ex, httpReq, ignoreStackTrace).ConfigureAwait(false);
             }
             }
             finally
             finally