소스 검색

Merge pull request #668 from ardave/master

Removed code that was duplicated on top of itself.
Luke 11 년 전
부모
커밋
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);
         }