Explorar o código

Removed code that was duplicated on top of itself.

unknown %!s(int64=11) %!d(string=hai) anos
pai
achega
2a491a76d2
Modificáronse 1 ficheiros con 0 adicións e 10 borrados
  1. 0 10
      MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs

+ 0 - 10
MediaBrowser.Common.Implementations/IO/CommonFileSystem.cs

@@ -82,16 +82,6 @@ namespace MediaBrowser.Common.Implementations.IO
                 throw new ArgumentNullException("target");
             }
 
-            if (string.IsNullOrEmpty(shortcutPath))
-            {
-                throw new ArgumentNullException("shortcutPath");
-            }
-
-            if (string.IsNullOrEmpty(target))
-            {
-                throw new ArgumentNullException("target");
-            }
-
             File.WriteAllText(shortcutPath, target);
         }