avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sujesh Chirackkal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1298) Documentation says wrong usage of Parser
Date Sat, 13 Apr 2013 00:52:15 GMT
Sujesh Chirackkal created AVRO-1298:
---------------------------------------

             Summary: Documentation says wrong usage of Parser
                 Key: AVRO-1298
                 URL: https://issues.apache.org/jira/browse/AVRO-1298
             Project: Avro
          Issue Type: Improvement
          Components: java
    Affects Versions: 1.7.4, 1.7.3
            Reporter: Sujesh Chirackkal
            Priority: Minor


Documentation : http://avro.apache.org/docs/1.7.3/gettingstartedjava.html#download_install

The below usage does not work

Schema schema = new Parser().parse(new File("user.avsc"));

Had to use

Schema schema = new Schema().parse(new Parser("user.avsc"));



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message