avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r1435360 - in /avro/trunk/lang/java/tools/src/test/compiler/output: Player.java Position.java
Date Fri, 18 Jan 2013 21:39:07 GMT
Author: cutting
Date: Fri Jan 18 21:39:06 2013
New Revision: 1435360

URL: http://svn.apache.org/viewvc?rev=1435360&view=rev
Log:
AVRO-1223. Re-generate test files to correspond to compiler changes.

Modified:
    avro/trunk/lang/java/tools/src/test/compiler/output/Player.java
    avro/trunk/lang/java/tools/src/test/compiler/output/Position.java

Modified: avro/trunk/lang/java/tools/src/test/compiler/output/Player.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/tools/src/test/compiler/output/Player.java?rev=1435360&r1=1435359&r2=1435360&view=diff
==============================================================================
--- avro/trunk/lang/java/tools/src/test/compiler/output/Player.java (original)
+++ avro/trunk/lang/java/tools/src/test/compiler/output/Player.java Fri Jan 18 21:39:06 2013
@@ -8,6 +8,7 @@ package avro.examples.baseball;  
 @org.apache.avro.specific.AvroGenerated
 public class Player extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
{
   public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"Player\",\"namespace\":\"avro.examples.baseball\",\"fields\":[{\"name\":\"number\",\"type\":\"int\"},{\"name\":\"first_name\",\"type\":\"string\"},{\"name\":\"last_name\",\"type\":\"string\"},{\"name\":\"position\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"enum\",\"name\":\"Position\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}}}]}");
+  public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; }
   @Deprecated public int number;
   @Deprecated public java.lang.CharSequence first_name;
   @Deprecated public java.lang.CharSequence last_name;

Modified: avro/trunk/lang/java/tools/src/test/compiler/output/Position.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/tools/src/test/compiler/output/Position.java?rev=1435360&r1=1435359&r2=1435360&view=diff
==============================================================================
--- avro/trunk/lang/java/tools/src/test/compiler/output/Position.java (original)
+++ avro/trunk/lang/java/tools/src/test/compiler/output/Position.java Fri Jan 18 21:39:06
2013
@@ -9,4 +9,5 @@ package avro.examples.baseball;  
 public enum Position { 
   P, C, B1, B2, B3, SS, LF, CF, RF, DH  ;
   public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}");
+  public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; }
 }



Mime
View raw message