Author: cutting
Date: Wed May 28 21:43:43 2014
New Revision: 1598151

URL: http://svn.apache.org/r1598151
Log:
AVRO-1476. Remove transient declaration from Schema.Field#position.  
Contributed by Robert Chu.

Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/lang/java/avro/src/main/java/org/apache/avro/Schema.java

Modified: avro/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1598151&r1=1598150&r2=1598151&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Wed May 28 21:43:43 2014
@@ -40,6 +40,9 @@ Trunk (not yet released)
     AVRO-1482. In specification, place "null" first in unions as best practice.
     (cutting)
 
+    AVRO-1476. Remove transient declaration from Schema.Field#position.
+    (Robert Chu via cutting)
+
   BUG FIXES
 
     AVRO-1446. C#: Correctly handle system errors in RPC.

Modified: avro/trunk/lang/java/avro/src/main/java/org/apache/avro/Schema.java
URL: 
http://svn.apache.org/viewvc/avro/trunk/lang/java/avro/src/main/java/org/apache/avro/Schema.java?rev=1598151&r1=1598150&r2=1598151&view=diff
==============================================================================
--- avro/trunk/lang/java/avro/src/main/java/org/apache/avro/Schema.java 
(original)
+++ avro/trunk/lang/java/avro/src/main/java/org/apache/avro/Schema.java Wed May 
28 21:43:43 2014
@@ -355,7 +355,7 @@ public abstract class Schema extends Jso
     };
 
     private final String name;    // name of the field.
-    private transient int position = -1;
+    private int position = -1;
     private final Schema schema;
     private final String doc;
     private final JsonNode defaultValue;


Reply via email to