1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
- <FindBugsFilter>
- <!-- Workaround bugs in findbugs 1.3.9. See http://sourceforge.net/p/findbugs/bugs/918 for more details. -->
- <Match>
- <Or>
- <Package name="org.apache.hadoop.streaming" />
- <Class name="org.apache.hadoop.record.compiler.JFile" />
- </Or>
- <Bug pattern="NP_ALWAYS_NULL"/>
- </Match>
- <Match>
- <Class name="org.apache.hadoop.streaming.JarBuilder" />
- <Bug pattern="NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS"/>
- </Match>
- <Match>
- <Or>
- <Class name="org.apache.hadoop.streaming.PipeMapper" />
- <Class name="org.apache.hadoop.streaming.PipeReducer"/>
- </Or>
- <Or>
- <Method name="getFieldSeparator"/>
- <Method name="getInputSeparator"/>
- </Or>
- <Bug pattern="EI_EXPOSE_REP"/>
- </Match>
- <Match>
- <Package name="org.apache.hadoop.record.compiler.generated" />
- </Match>
- <Match>
- <Package name="org.apache.hadoop.record" />
- <Or>
- <Bug pattern="EI_EXPOSE_REP" />
- <Bug pattern="EI_EXPOSE_REP2" />
- <Bug pattern="MS_PKGPROTECT" />
- </Or>
- </Match>
- <Match>
- <Class name="org.apache.hadoop.record.meta.Utils" />
- <Method name="skip" />
- <Bug pattern="BC_UNCONFIRMED_CAST" />
- </Match>
- <!--
- The compareTo method is actually a dummy method that just
- throws excpetions. So, no need to override equals. Ignore
- -->
- <Match>
- <Class name="org.apache.hadoop.record.meta.RecordTypeInfo" />
- <Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
- </Match>
- </FindBugsFilter>
|