Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: e4a84532e5b86760c9e26536c9f7bc427cb71127 (plain) (tree)
1
                























                                                                             








                                                                              





                                                            
                                                                                                   

                                                                        


                                                                                                       
                                                  
                     
                
        




                                                                                         
        








                                                                                                           







                                                                                  
























                                                                            



                                                                          
 
        





                                                                                     
                 
<FindBugsFilter>
	<!-- Ignore all I18N Internationalization bugs -->
	<Match>
		<Bug category="I18N"/>
	</Match>
	
	<!-- Ignore all NM_SAME_SIMPLE_NAME_AS_SUPERCLASS violations -->
	<Match>
		<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
	</Match>

	<!-- Ignore all SF_SWITCH_NO_DEFAULT violations -->
	<Match>
		<Bug pattern="SF_SWITCH_NO_DEFAULT"/>
	</Match>

	<!-- Ignore all serialization violations -->
	<Match>
		<Or>
			<Bug pattern="SE_BAD_FIELD"/>
			<Bug pattern="SE_BAD_FIELD_INNER_CLASS"/>
			<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE"/>
		</Or>
	</Match>
	
	<!-- Ignore all inner class should be static violations -->
	<Match>
		<Or>
			<Bug pattern="SIC_INNER_SHOULD_BE_STATIC"/>
			<Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON"/>
			<Bug pattern="SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS"/>
		</Or>
	</Match>
	
	<!-- Ignore all EQ_DOESNT_OVERRIDE_EQUALS -->
	<Match>
		<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>
		<Package name="~org\.eclipse\.tcf\.te\..*"/>
	</Match>
	
	<!-- Ignore all ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD violations in bundle activators -->
	<Match>
		<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
		<Or>
			<Method name="start" params="org.osgi.framework.BundleContext" returns="void"/>
			<Method name="stop" params="org.osgi.framework.BundleContext" returns="void"/>
			<Method name="Activator"/>
		</Or>
	</Match>
	
	<!-- Ignore all EI_EXPOSE_REP violations for IAdapterFactory#getAdapterList() -->
	<Match>
		<Bug pattern="EI_EXPOSE_REP"/>
		<Method name="getAdapterList"/>
	</Match>
	
	<!-- Ignore EI_EXPOSE_REP2 -->
	<Match>
		<Bug pattern="EI_EXPOSE_REP2"/>
		<Or>
			<Class name="org.eclipse.tcf.te.ui.views.handler.UpdateActiveExtensionsOperation"/>
			<Class name="org.eclipse.tcf.te.ui.views.handler.UpdateActiveFiltersOperation"/>
		</Or>
	</Match>
	
	<!-- Ignore LI_LAZY_INIT_UPDATE_STATIC in Model.java -->
	<Match>
		<Bug pattern="LI_LAZY_INIT_UPDATE_STATIC"/>
		<And>
			<Class name="org.eclipse.tcf.te.tcf.locator.model.Model"/>
			<Method name="initialize"/>
		</And>
	</Match>

	<!-- Filters for org.eclipse.tcf bundle -->
	<Match>
		<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
		<And>
			<Class name="org.eclipse.tcf.Activator"/>
			<Method name="initialize"/>
		</And>
	</Match>

	<!-- Filters for org.eclipse.tcf.core bundle -->
	<Match>
		<Bug pattern="EI_EXPOSE_REP2"/>
		<And>
			<Class name="org.eclipse.tcf.core.Command"/>
			<Method name="initialize"/>
		</And>
	</Match>
	<Match>
		<Bug pattern="STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE"/>
		<And>
			<Class name="org.eclipse.tcf.core.Command"/>
			<Method name="appendErrorProps"/>
		</And>
	</Match>
	<Match>
		<Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS"/>
		<Package name="org.eclipse.tcf.internal.services.remote"/>
	</Match>

	
	<!-- Filters for org.eclipse.tcf.debug.ui bundle -->
	<Match>
		<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
		<Class name="org.eclipse.tcf.internal.debug.ui.model.TCFNodeSymbol"/>
	</Match>

</FindBugsFilter>

Back to the top