avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r898554 - /hadoop/avro/trunk/lang/java/src/java/org/apache/avro/Schema.java
Date Tue, 12 Jan 2010 22:30:30 GMT
Author: cutting
Date: Tue Jan 12 22:30:29 2010
New Revision: 898554

URL: http://svn.apache.org/viewvc?rev=898554&view=rev
Log:
AVRO-297.  Remove deprecated call to Jackson.  Contributed by philz.

Modified:
    hadoop/avro/trunk/lang/java/src/java/org/apache/avro/Schema.java

Modified: hadoop/avro/trunk/lang/java/src/java/org/apache/avro/Schema.java
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/java/src/java/org/apache/avro/Schema.java?rev=898554&r1=898553&r2=898554&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/java/src/java/org/apache/avro/Schema.java (original)
+++ hadoop/avro/trunk/lang/java/src/java/org/apache/avro/Schema.java Tue Jan 12 22:30:29 2010
@@ -64,7 +64,7 @@
   static final ObjectMapper MAPPER = new ObjectMapper(FACTORY);
 
   static {
-    FACTORY.enableParserFeature(JsonParser.Feature.ALLOW_COMMENTS);
+    FACTORY.enable(JsonParser.Feature.ALLOW_COMMENTS);
     FACTORY.setCodec(MAPPER);
   }
 



Mime
View raw message