Author: szetszwo
Date: Thu Jul 23 21:40:02 2009
New Revision: 797235
URL: http://svn.apache.org/viewvc?rev=797235&view=rev
Log:
The changes in src/test/findbugsExcludeFile.xml by HADOOP-5864 were disappeared
after project split.
Modified:
hadoop/hdfs/trunk/src/test/findbugsExcludeFile.xml
Modified: hadoop/hdfs/trunk/src/test/findbugsExcludeFile.xml
URL:
http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/test/findbugsExcludeFile.xml?rev=797235&r1=797234&r2=797235&view=diff
==============================================================================
--- hadoop/hdfs/trunk/src/test/findbugsExcludeFile.xml (original)
+++ hadoop/hdfs/trunk/src/test/findbugsExcludeFile.xml Thu Jul 23 21:40:02 2009
@@ -207,9 +207,17 @@
<Bug pattern="OBL_UNSATISFIED_OBLIGATION" />
</Match>
+ <!--
+ CreateBlockWriteStreams and getTmpInputStreams are pretty much like a
stream constructor.
+ The newly created streams are not supposed to be closed in the
constructor. So ignore
+ the OBL warning.
+ -->
<Match>
- <Class name="org.apache.hadoop.examples.ContextFactory" />
- <Method name="setAttributes" />
+ <Class name="org.apache.hadoop.hdfs.server.datanode.FSDataset" />
+ <Or>
+ <Method name="createBlockWriteStreams" />
+ <Method name="getTmpInputStreams" />
+ </Or>
<Bug pattern="OBL_UNSATISFIED_OBLIGATION" />
</Match>