Преглед изворни кода

Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser

Luke Pulverenti пре 11 година
родитељ
комит
9688ef02ba
1 измењених фајлова са 0 додато и 10 уклоњено
  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);
         }