summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/samples/store-vhost/domains/joe/fruits-catalog.py
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-10-20 04:59:59 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-10-20 04:59:59 +0000
commitac736cca82bc8ed1a482baa5a2635acc18bc88ec (patch)
tree12f3ad44788cf513afb681b14ff43b3c31271aaf /sca-cpp/trunk/samples/store-vhost/domains/joe/fruits-catalog.py
parent86c8643e959d1404466beba22670b47800343878 (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-vhost/domains/joe/fruits-catalog.py')
-rw-r--r--sca-cpp/trunk/samples/store-vhost/domains/joe/fruits-catalog.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-cpp/trunk/samples/store-vhost/domains/joe/fruits-catalog.py b/sca-cpp/trunk/samples/store-vhost/domains/joe/fruits-catalog.py
index 2a6d726fdc..b5eb035ae3 100644
--- a/sca-cpp/trunk/samples/store-vhost/domains/joe/fruits-catalog.py
+++ b/sca-cpp/trunk/samples/store-vhost/domains/joe/fruits-catalog.py
@@ -23,8 +23,8 @@ def getcatalog(converter, currencyCode):
return converter("convert", "USD", code, price)
symbol = converter("symbol", code)
return (
- (("'javaClass", "services.Item"), ("'name", "Apple"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(2.99))),
- (("'javaClass", "services.Item"), ("'name", "Orange"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(3.55))),
- (("'javaClass", "services.Item"), ("'name", "Pear"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(1.55)))
+ (("'name", "Apple"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(2.99))),
+ (("'name", "Orange"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(3.55))),
+ (("'name", "Pear"), ("'currencyCode", code), ("'currencySymbol", symbol), ("'price", convert(1.55)))
)