Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 509fddd770c9979d17d3e0887ebdab772ab5c22a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<FindBugsFilter>
	<!-- 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"/>
		</Or>
	</Match>
	
	<!-- Ignore all NM_SAME_SIMPLE_NAME_AS_SUPERCLASS violations -->
	<Match>
		<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
	</Match>
	
	<!-- Ignore all EI_EXPOSE_REP violations for IAdapterFactory#getAdapterList() -->
	<Match>
		<Bug pattern="EI_EXPOSE_REP"/>
		<Method name="getAdapterList"/>
	</Match>
	
	<!-- Ignore all I18N Internationalization bugs -->
	<Match>
		<Bug category="I18N"/>
	</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>
</FindBugsFilter>

Back to the top