hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1042107 [6/6] - in /hadoop/common/branches/HADOOP-6685: ./ ivy/ src/java/ src/java/org/apache/hadoop/fs/ src/java/org/apache/hadoop/io/ src/java/org/apache/hadoop/io/file/tfile/ src/java/org/apache/hadoop/io/serial/ src/java/org/apache/had...
Date Sat, 04 Dec 2010 07:13:12 GMT
Modified: hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/file/tfile/TestTFileJClassComparatorByteArrays.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/file/tfile/TestTFileJClassComparatorByteArrays.java?rev=1042107&r1=1042106&r2=1042107&view=diff
==============================================================================
--- hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/file/tfile/TestTFileJClassComparatorByteArrays.java
(original)
+++ hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/file/tfile/TestTFileJClassComparatorByteArrays.java
Sat Dec  4 07:13:10 2010
@@ -43,6 +43,7 @@ public class TestTFileJClassComparatorBy
   }
 }
 
+@SuppressWarnings("serial")
 class MyComparator implements RawComparator<byte[]>, Serializable {
 
   @Override
@@ -54,6 +55,6 @@ class MyComparator implements RawCompara
   public int compare(byte[] o1, byte[] o2) {
     return WritableComparator.compareBytes(o1, 0, o1.length, o2, 0, o2.length);
   }
-  
+
 }
 

Added: hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/test.genavro
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/test.genavro?rev=1042107&view=auto
==============================================================================
--- hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/test.genavro (added)
+++ hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/test.genavro Sat
Dec  4 07:13:10 2010
@@ -0,0 +1,10 @@
+@namespace("org.apache.hadoop.io")
+protocol AvroTest {
+  record AvroKey {
+    int value;
+  }
+
+  record AvroValue {
+    string value;
+  }
+}

Added: hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/test.thrift
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/test.thrift?rev=1042107&view=auto
==============================================================================
--- hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/test.thrift (added)
+++ hadoop/common/branches/HADOOP-6685/src/test/core/org/apache/hadoop/io/test.thrift Sat
Dec  4 07:13:10 2010
@@ -0,0 +1,7 @@
+namespace java org.apache.hadoop.io
+struct ThriftKey {
+  1: i32 value
+}
+struct ThriftValue {
+  1: string value
+} 

Modified: hadoop/common/branches/HADOOP-6685/src/test/findbugsExcludeFile.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HADOOP-6685/src/test/findbugsExcludeFile.xml?rev=1042107&r1=1042106&r2=1042107&view=diff
==============================================================================
--- hadoop/common/branches/HADOOP-6685/src/test/findbugsExcludeFile.xml (original)
+++ hadoop/common/branches/HADOOP-6685/src/test/findbugsExcludeFile.xml Sat Dec  4 07:13:10
2010
@@ -193,6 +193,16 @@
      </Match>
 
      <Match>
+       <Class name="org.apache.hadoop.io.RawComparator" />
+       <Bug pattern="NM_SAME_SIMPLE_NAME_AS_INTERFACE" />
+     </Match>
+
+     <Match>
+       <Class name="org.apache.hadoop.io.serializer.avro.AvroReflectSerializable" />
+       <Bug pattern="NM_SAME_SIMPLE_NAME_AS_INTERFACE" />
+     </Match>
+
+     <Match>
        <Class name="org.apache.hadoop.security.AccessControlException" />
        <Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" />
      </Match>



Mime
View raw message