fixed typo

git-svn-id: https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk@1125435 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/DotCMIS/client/client-objectfactory.cs b/DotCMIS/client/client-objectfactory.cs
index 85216f2..f52a6d8 100644
--- a/DotCMIS/client/client-objectfactory.cs
+++ b/DotCMIS/client/client-objectfactory.cs
@@ -177,7 +177,7 @@
                 throw new ArgumentNullException("objectType");

             }

 

-            if (objectType.PropertyDefintions == null)

+            if (objectType.PropertyDefinitions == null)

             {

                 throw new ArgumentException("Object type has no property defintions!");

             }

diff --git a/DotCMIS/client/client-objects.cs b/DotCMIS/client/client-objects.cs
index 84e407f..2e9c9c0 100644
--- a/DotCMIS/client/client-objects.cs
+++ b/DotCMIS/client/client-objects.cs
@@ -94,7 +94,7 @@
                 throw new ArgumentNullException("objectType");

             }

 

-            if (objectType.PropertyDefintions == null || objectType.PropertyDefintions.Count < 9)

+            if (objectType.PropertyDefinitions == null || objectType.PropertyDefinitions.Count < 9)

             {

                 // there must be at least the 9 standard properties that all objects have

                 throw new ArgumentException("Object type must have property defintions!");

diff --git a/DotCMIS/data/data-impl.cs b/DotCMIS/data/data-impl.cs
index e4bceed..68d9ef3 100644
--- a/DotCMIS/data/data-impl.cs
+++ b/DotCMIS/data/data-impl.cs
@@ -136,7 +136,7 @@
                 return propertyDefinition;

             }

         }

-        public IList<IPropertyDefinition> PropertyDefintions

+        public IList<IPropertyDefinition> PropertyDefinitions

         {

             get

             {

@@ -163,9 +163,9 @@
             IsControllableAcl = typeDefinition.IsControllableAcl;

 

 

-            if (typeDefinition.PropertyDefintions != null)

+            if (typeDefinition.PropertyDefinitions != null)

             {

-                foreach (IPropertyDefinition propDef in typeDefinition.PropertyDefintions)

+                foreach (IPropertyDefinition propDef in typeDefinition.PropertyDefinitions)

                 {

                     AddPropertyDefinition(propDef);

                 }

diff --git a/DotCMIS/data/data-intf.cs b/DotCMIS/data/data-intf.cs
index b37d979..e8918ba 100644
--- a/DotCMIS/data/data-intf.cs
+++ b/DotCMIS/data/data-intf.cs
@@ -100,7 +100,7 @@
         bool? IsControllablePolicy { get; }

         bool? IsControllableAcl { get; }

         IPropertyDefinition this[string propertyId] { get; }

-        IList<IPropertyDefinition> PropertyDefintions { get; }

+        IList<IPropertyDefinition> PropertyDefinitions { get; }

     }

 

     public interface IDocumentTypeDefinition : ITypeDefinition

diff --git a/DotCMISUnitTest/SmokeTest.cs b/DotCMISUnitTest/SmokeTest.cs
index 0d3a161..89536a9 100644
--- a/DotCMISUnitTest/SmokeTest.cs
+++ b/DotCMISUnitTest/SmokeTest.cs
@@ -59,8 +59,8 @@
             Assert.AreEqual(BaseTypeId.CmisDocument, documentType.BaseTypeId);

             Assert.True(documentType.IsBaseType);

             Assert.IsNullOrEmpty(documentType.ParentTypeId);

-            Assert.NotNull(documentType.PropertyDefintions);

-            Assert.True(documentType.PropertyDefintions.Count >= 9);

+            Assert.NotNull(documentType.PropertyDefinitions);

+            Assert.True(documentType.PropertyDefinitions.Count >= 9);

 

             IObjectType folderType = Session.GetTypeDefinition("cmis:folder");

             Assert.NotNull(folderType);

@@ -69,8 +69,8 @@
             Assert.AreEqual(BaseTypeId.CmisFolder, folderType.BaseTypeId);

             Assert.True(folderType.IsBaseType);

             Assert.IsNullOrEmpty(folderType.ParentTypeId);

-            Assert.NotNull(folderType.PropertyDefintions);

-            Assert.True(folderType.PropertyDefintions.Count >= 9);

+            Assert.NotNull(folderType.PropertyDefinitions);

+            Assert.True(folderType.PropertyDefinitions.Count >= 9);

 

             // getTypeChildren

             Session.Clear();

@@ -86,7 +86,7 @@
                 Assert.NotNull(type.Id);

                 Assert.True(type.IsBaseType);

                 Assert.IsNullOrEmpty(type.ParentTypeId);

-                Assert.NotNull(type.PropertyDefintions);

+                Assert.NotNull(type.PropertyDefinitions);

 

                 Session.Clear();

                 IObjectType type2 = Session.GetTypeDefinition(type.Id);

@@ -116,7 +116,7 @@
                 Assert.NotNull(type.Id);

                 Assert.True(type.IsBaseType);

                 Assert.IsNullOrEmpty(type.ParentTypeId);

-                Assert.NotNull(type.PropertyDefintions);

+                Assert.NotNull(type.PropertyDefinitions);

 

                 Session.Clear();

                 IObjectType type2 = Session.GetTypeDefinition(type.Id);

diff --git a/DotCMISUnitTest/TestFramework.cs b/DotCMISUnitTest/TestFramework.cs
index d9e387a..4333bfc 100644
--- a/DotCMISUnitTest/TestFramework.cs
+++ b/DotCMISUnitTest/TestFramework.cs
@@ -425,9 +425,9 @@
             Assert.AreEqual(expected.LocalName, actual.LocalName);

             Assert.AreEqual(expected.LocalNamespace, actual.LocalNamespace);

             Assert.AreEqual(expected.QueryName, actual.QueryName);

-            Assert.AreEqual(expected.PropertyDefintions.Count, actual.PropertyDefintions.Count);

+            Assert.AreEqual(expected.PropertyDefinitions.Count, actual.PropertyDefinitions.Count);

 

-            foreach (IPropertyDefinition propDef in expected.PropertyDefintions)

+            foreach (IPropertyDefinition propDef in expected.PropertyDefinitions)

             {

                 Assert.NotNull(propDef);

                 Assert.NotNull(propDef.Id);