From 4f626364fe7257afc43ff97769c4c4ea6dd9c451 Mon Sep 17 00:00:00 2001 From: Sanjeev BA Date: Wed, 4 Feb 2015 12:06:10 +0900 Subject: [PATCH] Minor typo fixes. Change-Id: I9e36e8f6f9f88620b4d65a889f927d6c7c9c2f97 Signed-off-by: Sanjeev BA Reviewed-on: https://gerrit.iotivity.org/gerrit/302 Tested-by: jenkins-iotivity Reviewed-by: Sudarshan Prasad --- resource/include/OCApi.h | 4 ++-- resource/include/OCPlatform.h | 2 +- resource/include/OCPlatform_impl.h | 4 ++-- resource/include/OCResource.h | 2 +- resource/include/OicJsonSerializer.hpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resource/include/OCApi.h b/resource/include/OCApi.h index 153abbc..b8b1675 100644 --- a/resource/include/OCApi.h +++ b/resource/include/OCApi.h @@ -110,9 +110,9 @@ namespace OC * ServiceType: indicate InProc or OutOfProc * ModeType : indicate whether we want to do server, client or both * ipAddress : ip address of server. - * if you speecifiy 0.0.0.0 : it listens on any interface. + * if you specify 0.0.0.0 : it listens on any interface. * port : port of server. - * : if you specifiy 0 : next available random port is used. + * : if you specify 0 : next available random port is used. * : if you specify 5683 : client discovery can work even if they don't specify port. * QoS : Quality of Service : CONFIRMABLE or NON CONFIRMABLE. */ diff --git a/resource/include/OCPlatform.h b/resource/include/OCPlatform.h index 87bad0f..e838019 100644 --- a/resource/include/OCPlatform.h +++ b/resource/include/OCPlatform.h @@ -164,7 +164,7 @@ namespace OC * //192.168.1.1/oc/a/light" * First parameter can take a relative URI and core will take care of preparing the fully * qualified URI OR - * first paramter can take fully qualified URI and core will take that as is for further + * first parameter can take fully qualified URI and core will take that as is for further * operations * NOTE: OCStackResult is defined in ocstack.h. */ diff --git a/resource/include/OCPlatform_impl.h b/resource/include/OCPlatform_impl.h index 71ca5f1..8f3ab47 100644 --- a/resource/include/OCPlatform_impl.h +++ b/resource/include/OCPlatform_impl.h @@ -184,7 +184,7 @@ namespace OC * //192.168.1.1/oc/a/light" * First parameter can take a relative URI and core will take care of preparing the fully * qualified URI OR - * first paramter can take fully qualified URI and core will take that as is for further + * first parameter can take fully qualified URI and core will take that as is for further * operations * NOTE: OCStackResult is defined in ocstack.h. */ @@ -478,7 +478,7 @@ namespace OC OCPlatform_impl(const PlatformConfig& config); /** - * Private function to initalize the platfrom + * Private function to initialize the platform */ void init(const PlatformConfig& config); diff --git a/resource/include/OCResource.h b/resource/include/OCResource.h index 7d07a86..503e85e 100644 --- a/resource/include/OCResource.h +++ b/resource/include/OCResource.h @@ -349,7 +349,7 @@ namespace OC // TODO-CA Revisit this since we are exposing two identifiers /** - * Function to get a unqiue identifier for this + * Function to get a unique identifier for this * resource across network interfaces. This will * be guaranteed unique for every resource-per-server * independent of how this was discovered. diff --git a/resource/include/OicJsonSerializer.hpp b/resource/include/OicJsonSerializer.hpp index d7eb98e..280ac28 100644 --- a/resource/include/OicJsonSerializer.hpp +++ b/resource/include/OicJsonSerializer.hpp @@ -72,7 +72,7 @@ namespace cereal { // ###################################################################### //! An output archive designed to save data to JSON - /*! This archive uses RapidJSON to build serialie data to JSON. + /*! This archive uses RapidJSON to build serialized data to JSON. JSON archives provides a human readable output but at decreased performance (both in time and space) compared to binary archives. -- 2.7.4