Fix for SVACE and Klocwork issues in RAML parser module.
authorHarish Kumara Marappa <h.marappa@samsung.com>
Thu, 3 Mar 2016 20:24:50 +0000 (01:54 +0530)
committerMadan Lanka <lanka.madan@samsung.com>
Fri, 4 Mar 2016 05:53:15 +0000 (05:53 +0000)
commitfe94fd31845a658f7b3e76eca09b2a00c8df64b1
tree7fe4c3fcf45652be4ed5f35a12708079235a1bd6
parent606c72488e1193d81838fe6632adc161e9254858
Fix for SVACE and Klocwork issues in RAML parser module.

This includes code changes for following issues
1. SVACE reported issues.
2. Klocwork reported issues.
3. Setting array minimum, maximum, unique and additional items property properly.

Change-Id: I7ffd8f985ff6db02c1469c6c86884f9c5baadaf5
Signed-off-by: Harish Kumara Marappa <h.marappa@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5371
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
service/simulator/ramlparser/raml/jsonSchemaParser/JsonSchema.cpp
service/simulator/ramlparser/raml/jsonSchemaParser/Properties.cpp
service/simulator/ramlparser/raml/jsonSchemaParser/Properties.h
service/simulator/ramlparser/raml/model/Schema.h