avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r819036 - in /hadoop/avro/trunk: CHANGES.txt src/doc/content/xdocs/spec.xml
Date Fri, 25 Sep 2009 21:47:12 GMT
Author: cutting
Date: Fri Sep 25 21:47:11 2009
New Revision: 819036

URL: http://svn.apache.org/viewvc?rev=819036&view=rev
Log:
AVRO-125.  Fix sample protocol in specification document to use the correct syntax.

Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/src/doc/content/xdocs/spec.xml

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=819036&r1=819035&r2=819036&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Fri Sep 25 21:47:11 2009
@@ -65,6 +65,9 @@
     AVRO-123.  Fix Java's specific protocol compiler so that
     parameters and return types are unboxed. (cutting)
 
+    AVRO-125.  Fix sample protocol in specification document to use
+    the correct syntax.  (cutting)
+
 Avro 1.1.0 (8 September 2009)
 
   INCOMPATIBLE CHANGES

Modified: hadoop/avro/trunk/src/doc/content/xdocs/spec.xml
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/src/doc/content/xdocs/spec.xml?rev=819036&r1=819035&r2=819036&view=diff
==============================================================================
--- hadoop/avro/trunk/src/doc/content/xdocs/spec.xml (original)
+++ hadoop/avro/trunk/src/doc/content/xdocs/spec.xml Fri Sep 25 21:47:11 2009
@@ -654,14 +654,14 @@
 
   "types": [
     {"name": "Greeting", "type": "record", "fields": [
-      {"name": "message", "type": "string"}]}
+      {"name": "message", "type": "string"}]},
     {"name": "Curse", "type": "error", "fields": [
       {"name": "message", "type": "string"}]}
   ],
 
   "messages": {
     "hello": {
-      "request": {"greeting": "Greeting" },
+      "request": [{"name": "greeting", "type": "Greeting" }],
       "response": "Greeting",
       "errors": ["Curse"]
     }



Mime
View raw message