Prechádzať zdrojové kódy

Put Boolean operators at beginning of lines instead of the end

Mark Monteiro 5 rokov pred
rodič
commit
de634203d8

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

@@ -548,11 +548,11 @@ namespace Emby.Server.Implementations.HttpServer
                 }
 
                 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);
             }
             finally