Browse Source

Removed code that was duplicated on top of itself.

unknown 11 năm trước cách đây
mục cha
commit
2a491a76d2
1 tập tin đã thay đổi với 0 bổ sung10 xóa
  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);
         }