CMIS-577: allow creation of unfiled objects

git-svn-id: https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk@1398036 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/DotCMIS/client/client-impl.cs b/DotCMIS/client/client-impl.cs
index e28aa97..7b62ee5 100644
--- a/DotCMIS/client/client-impl.cs
+++ b/DotCMIS/client/client-impl.cs
@@ -673,10 +673,6 @@
         public IObjectId CreateDocument(IDictionary<string, object> properties, IObjectId folderId, IContentStream contentStream,

             VersioningState? versioningState, IList<IPolicy> policies, IList<IAce> addAces, IList<IAce> removeAces)

         {

-            if (folderId != null && folderId.Id == null)

-            {

-                throw new ArgumentException("Folder Id must be set!");

-            }

             if (properties == null || properties.Count == 0)

             {

                 throw new ArgumentException("Properties must not be empty!");

@@ -764,10 +760,6 @@
         public IObjectId CreatePolicy(IDictionary<string, object> properties, IObjectId folderId, IList<IPolicy> policies,

             IList<IAce> addAces, IList<IAce> removeAces)

         {

-            if (folderId == null || folderId.Id == null)

-            {

-                throw new ArgumentException("Folder Id must be set!");

-            }

             if (properties == null || properties.Count == 0)

             {

                 throw new ArgumentException("Properties must not be empty!");