avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r991423 - /avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificData.java
Date Wed, 01 Sep 2010 03:20:13 GMT
Author: cutting
Date: Wed Sep  1 03:20:12 2010
New Revision: 991423

URL: http://svn.apache.org/viewvc?rev=991423&view=rev
Log:
AVRO-637. Fix specific to use correct type for array message parameters.

Modified:
    avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificData.java

Modified: avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificData.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificData.java?rev=991423&r1=991422&r2=991423&view=diff
==============================================================================
--- avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificData.java (original)
+++ avro/trunk/lang/java/src/java/org/apache/avro/specific/SpecificData.java Wed Sep  1 03:20:12
2010
@@ -70,7 +70,7 @@ public class SpecificData extends Generi
         classCache.put(name, c);
       }
       return c == NO_CLASS ? null : c;
-    case ARRAY:   return Collection.class;
+    case ARRAY:   return List.class;
     case MAP:     return Map.class;
     case UNION:
       List<Schema> types = schema.getTypes();     // elide unions with null



Mime
View raw message