You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by cu...@apache.org on 2010/10/14 23:12:32 UTC

svn commit: r1022713 - in /avro/trunk: CHANGES.txt doc/src/content/xdocs/idl.xml

Author: cutting
Date: Thu Oct 14 21:12:31 2010
New Revision: 1022713

URL: http://svn.apache.org/viewvc?rev=1022713&view=rev
Log:
AVRO-681. IDL: Fix documentation example with illegal syntax.  Contributed by Jingguo Yao.

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

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1022713&r1=1022712&r2=1022713&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Thu Oct 14 21:12:31 2010
@@ -15,6 +15,9 @@ Avro 1.5.0 (unreleased)
     AVRO-675. C: Bytes and fixed setters don't update datum size.
     (Douglas Creager via massie)
 
+    AVRO-681. IDL: Fix documentation example with illegal syntax.
+    (Jingguo Yao via cutting)
+
 Avro 1.4.1 (13 October 2010)
 
   NEW FEATURES

Modified: avro/trunk/doc/src/content/xdocs/idl.xml
URL: http://svn.apache.org/viewvc/avro/trunk/doc/src/content/xdocs/idl.xml?rev=1022713&r1=1022712&r2=1022713&view=diff
==============================================================================
--- avro/trunk/doc/src/content/xdocs/idl.xml (original)
+++ avro/trunk/doc/src/content/xdocs/idl.xml Thu Oct 14 21:12:31 2010
@@ -332,7 +332,7 @@ record MyRecord {
         <p>A field's type may also be preceded by annotations, e.g.: </p>
         <source>
 record MyRecord {
-  @java-class("java.util.ArrayList") array string myStrings;
+  @java_class("java.util.ArrayList") array&lt;string&gt; myStrings;
 }
         </source>
         <p>Similarly, a <code>@namespace</code> annotation may be used to modify the namespace