avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r823415 - in /hadoop/avro/trunk: CHANGES.txt src/java/org/apache/avro/specific/SpecificCompiler.java
Date Fri, 09 Oct 2009 05:56:03 GMT
Author: sharad
Date: Fri Oct  9 05:56:03 2009
New Revision: 823415

URL: http://svn.apache.org/viewvc?rev=823415&view=rev
Log:
AVRO-137. Suppress warnings in generated java code. Contributed by Doug Cutting.

Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/src/java/org/apache/avro/specific/SpecificCompiler.java

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=823415&r1=823414&r2=823415&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Fri Oct  9 05:56:03 2009
@@ -94,6 +94,8 @@
 
     AVRO-124.  Remove Ivy's jar from distributions.  (cutting)
 
+    AVRO-137. Suppress warnings in generated java code. (cutting via sharad)
+
 Avro 1.1.0 (8 September 2009)
 
   INCOMPATIBLE CHANGES

Modified: hadoop/avro/trunk/src/java/org/apache/avro/specific/SpecificCompiler.java
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/src/java/org/apache/avro/specific/SpecificCompiler.java?rev=823415&r1=823414&r2=823415&view=diff
==============================================================================
--- hadoop/avro/trunk/src/java/org/apache/avro/specific/SpecificCompiler.java (original)
+++ hadoop/avro/trunk/src/java/org/apache/avro/specific/SpecificCompiler.java Fri Oct  9 05:56:03
2009
@@ -153,6 +153,7 @@
           : !namespace.equals(s.getNamespace()))
         line(0, "import "+SpecificData.get().getClassName(s)+";");
     line(0, "");
+    line(0, "@SuppressWarnings(\"all\")");
   }
 
   private String params(Schema request) throws IOException {



Mime
View raw message