diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-20 04:59:59 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-20 04:59:59 +0000 |
commit | ac736cca82bc8ed1a482baa5a2635acc18bc88ec (patch) | |
tree | 12f3ad44788cf513afb681b14ff43b3c31271aaf /sca-cpp/trunk/samples/store-cpp/fruits-catalog.cpp | |
parent | 86c8643e959d1404466beba22670b47800343878 (diff) |
Remove unnecessary javaClass hint attribute from JSON objects.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024521 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/samples/store-cpp/fruits-catalog.cpp')
-rw-r--r-- | sca-cpp/trunk/samples/store-cpp/fruits-catalog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/samples/store-cpp/fruits-catalog.cpp b/sca-cpp/trunk/samples/store-cpp/fruits-catalog.cpp index a6c1056080..cc0dc0849a 100644 --- a/sca-cpp/trunk/samples/store-cpp/fruits-catalog.cpp +++ b/sca-cpp/trunk/samples/store-cpp/fruits-catalog.cpp @@ -47,7 +47,7 @@ struct convert { const list<value> mkfruit(const string& name, const string& code, const string& symbol, const double price) { return list<value>() + - mklist<value>("javaClass", string("services.Item")) + mklist<value>("name", name) + mklist<value>("currencyCode", code) + mklist<value>("currencySymbol", symbol) + mklist<value>("price", price); + mklist<value>("name", name) + mklist<value>("currencyCode", code) + mklist<value>("currencySymbol", symbol) + mklist<value>("price", price); } const failable<value> getcatalog(const lambda<value(const list<value>&)> converter, const lambda<value(const list<value>&)> currencyCode) { |