avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthik Sampath Kumar <kar...@gmail.com>
Subject Deprecation warnings in generated source code
Date Thu, 05 Jan 2012 08:31:09 GMT
I have 2 fields in .avsc file

        {"name": "name", "type": "string"},
        {"name": "email", "type": "string"},

I get the following in generated  source code. Why does it contain  *
@Deprecated* on the generated source code?

*  @Deprecated* public java.lang.CharSequence name;
  *@Deprecated* public java.lang.CharSequence email;

It occurs only in version* 1.6.1 *of the avro-maven-plugin
This doesn't happen when I use the 1.5.1 version

View raw message