File: findbugs-exclude.xml

package info (click to toggle)
icu4j 73.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 138,708 kB
  • sloc: java: 355,979; xml: 6,039; perl: 3,387; sh: 30; makefile: 4
file content (60 lines) | stat: -rw-r--r-- 2,086 bytes parent folder | download | duplicates (3)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<!--
* © 2016 and later: Unicode, Inc. and others.
* License & terms of use: http://www.unicode.org/copyright.html
*******************************************************************************
* Copyright (C) 2013, International Business Machines Corporation and         *
* others. All Rights Reserved.                                                *
*******************************************************************************
-->
<FindBugsFilter>
	<Match>
		<Class name="com.ibm.icu.impl.locale.AsciiUtil"/>
		<Or>
			<Method name="caseIgnoreCompare" params="java.lang.String,java.lang.String" returns="int"/>
			<Method name="caseIgnoreMatch" params="java.lang.String,java.lang.String" returns="boolean"/>
		</Or>
		<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ"/>
	</Match>

	<Match>
		<Class name="com.ibm.icu.text.UTF16$StringComparator"/>
		<Method name="compare" params="java.lang.String,java.lang.String" returns="int"/>
		<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ"/>
	</Match>

	<Match>
		<Class name="com.ibm.icu.impl.RelativeDateFormat"/>
		<Field name="fDateFormat"/>
		<Bug pattern="UWF_UNWRITTEN_FIELD"/>
	</Match>

	<Match>
		<Class name="com.ibm.icu.impl.CalendarAstronomer"/>
		<Or>
			<Method name="eclipticObliquity" params="" returns="double"/>
			<Method name="getJulianCentury" params="" returns="double"/>
			<Method name="getJulianDay" params="" returns="double"/>
		</Or>
		<Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
	</Match>

	<Match>
		<Class name="com.ibm.icu.text.DecimalFormat"/>
		<Method name="round" params="double,double,double,int,boolean" returns="double"/>
		<Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
	</Match>

	<Match>
		<Class name="com.ibm.icu.text.NFRule"/>
		<Method name="doParse" params="java.lang.String,java.text.ParsePosition,boolean,double" returns="java.lang.Number"/>
		<Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
	</Match>

	<Match>
		<Class name="com.ibm.icu.impl.UnicodeRegex"/>
		<Field name="log"/>
		<Bug pattern="UWF_NULL_FIELD"/>
	</Match>

</FindBugsFilter>