From commits-return-1629-apmail-avro-commits-archive=avro.apache.org@avro.apache.org Wed May 28 21:44:11 2014 Return-Path: X-Original-To: apmail-avro-commits-archive@www.apache.org Delivered-To: apmail-avro-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3BBED109FD for ; Wed, 28 May 2014 21:44:11 +0000 (UTC) Received: (qmail 55952 invoked by uid 500); 28 May 2014 21:44:11 -0000 Delivered-To: apmail-avro-commits-archive@avro.apache.org Received: (qmail 55916 invoked by uid 500); 28 May 2014 21:44:11 -0000 Mailing-List: contact commits-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list commits@avro.apache.org Received: (qmail 55905 invoked by uid 99); 28 May 2014 21:44:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2014 21:44:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2014 21:44:07 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id AFB182388860; Wed, 28 May 2014 21:43:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1598151 - in /avro/trunk: CHANGES.txt lang/java/avro/src/main/java/org/apache/avro/Schema.java Date: Wed, 28 May 2014 21:43:43 -0000 To: commits@avro.apache.org From: cutting@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140528214343.AFB182388860@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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;