avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r1577264 - in /avro/trunk: CHANGES.txt doc/src/content/xdocs/gettingstartedjava.xml
Date Thu, 13 Mar 2014 18:04:06 GMT
Author: cutting
Date: Thu Mar 13 18:04:06 2014
New Revision: 1577264

URL: http://svn.apache.org/r1577264
Log:
AVRO-1472. Java: Clarify parse method in getting started guide.  Contributed by Michael Knapp.

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

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1577264&r1=1577263&r2=1577264&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Thu Mar 13 18:04:06 2014
@@ -24,6 +24,9 @@ Trunk (not yet released)
     AVRO-1449. Java: Optionally validate default values while reading schemas.
     (cutting)    
 
+    AVRO-1472. Java: Clarify parse method in getting started guide.
+    (Michael Knapp via cutting)
+
   BUG FIXES
 
     AVRO-1446. C#: Correctly handle system errors in RPC.

Modified: avro/trunk/doc/src/content/xdocs/gettingstartedjava.xml
URL: http://svn.apache.org/viewvc/avro/trunk/doc/src/content/xdocs/gettingstartedjava.xml?rev=1577264&r1=1577263&r2=1577264&view=diff
==============================================================================
--- avro/trunk/doc/src/content/xdocs/gettingstartedjava.xml (original)
+++ avro/trunk/doc/src/content/xdocs/gettingstartedjava.xml Thu Mar 13 18:04:06 2014
@@ -342,7 +342,7 @@ $ mvn -q exec:java -Dexec.mainClass=exam
           create a <code>Schema</code> object.
         </p>
         <source>
-Schema schema = new Parser().parse(new File("user.avsc"));
+Schema schema = new Schema.Parser().parse(new File("user.avsc"));
         </source>
         <p>
           Using this schema, let's create some users.



Mime
View raw message