Просмотр исходного кода

Merge pull request #668 from ardave/master

Removed code that was duplicated on top of itself.
Luke 11 лет назад
Родитель
Сommit
b3f31d6944
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);
         }