You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by ve...@apache.org on 2012/10/17 08:51:18 UTC

svn commit: r1399120 - /incubator/etch/trunk/binding-cpp/runtime/src/main/common/EtchArrayValue.cpp

Author: veithm
Date: Wed Oct 17 06:51:17 2012
New Revision: 1399120

URL: http://svn.apache.org/viewvc?rev=1399120&view=rev
Log:
ETCH-246 Fixed multidimensional array serialization

Serialization of empty values fixed

Change-Id: I3c86300193e3db9bc5aee7be3033a3812d0870b9

Modified:
    incubator/etch/trunk/binding-cpp/runtime/src/main/common/EtchArrayValue.cpp

Modified: incubator/etch/trunk/binding-cpp/runtime/src/main/common/EtchArrayValue.cpp
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/binding-cpp/runtime/src/main/common/EtchArrayValue.cpp?rev=1399120&r1=1399119&r2=1399120&view=diff
==============================================================================
--- incubator/etch/trunk/binding-cpp/runtime/src/main/common/EtchArrayValue.cpp (original)
+++ incubator/etch/trunk/binding-cpp/runtime/src/main/common/EtchArrayValue.cpp Wed Oct 17 06:51:17 2012
@@ -102,9 +102,6 @@ status_t EtchArrayValue::get(capu::uint3
 }
 
 status_t EtchArrayValue::add(capu::SmartPointer<EtchObject> value) {
-  if (value.get() == NULL) {
-    return ETCH_EINVAL;
-  }
 
   //check if we have to resize the array
   capu::int32_t n = mSize;