Home | History | Annotate | Download | only in core
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3 *******************************************************************************
      4 * Copyright (C) 2013, International Business Machines Corporation and         *
      5 * others. All Rights Reserved.                                                *
      6 *******************************************************************************
      7 -->
      8 <FindBugsFilter>
      9 	<Match>
     10 		<Class name="com.ibm.icu.impl.locale.AsciiUtil"/>
     11 		<Or>
     12 			<Method name="caseIgnoreCompare" params="java.lang.String,java.lang.String" returns="int"/>
     13 			<Method name="caseIgnoreMatch" params="java.lang.String,java.lang.String" returns="boolean"/>
     14 		</Or>
     15 		<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ"/>
     16 	</Match>
     17 
     18 	<Match>
     19 		<Class name="com.ibm.icu.text.UTF16$StringComparator"/>
     20 		<Method name="compare" params="java.lang.String,java.lang.String" returns="int"/>
     21 		<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ"/>
     22 	</Match>
     23 
     24 	<Match>
     25 		<Class name="com.ibm.icu.impl.RelativeDateFormat"/>
     26 		<Field name="fDateFormat"/>
     27 		<Bug pattern="UWF_UNWRITTEN_FIELD"/>
     28 	</Match>
     29 
     30 	<Match>
     31 		<Class name="com.ibm.icu.impl.CalendarAstronomer"/>
     32 		<Or>
     33 			<Method name="eclipticObliquity" params="" returns="double"/>
     34 			<Method name="getJulianCentury" params="" returns="double"/>
     35 			<Method name="getJulianDay" params="" returns="double"/>
     36 		</Or>
     37 		<Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
     38 	</Match>
     39 
     40 	<Match>
     41 		<Class name="com.ibm.icu.text.DecimalFormat"/>
     42 		<Method name="round" params="double,double,double,int,boolean" returns="double"/>
     43 		<Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
     44 	</Match>
     45 
     46 	<Match>
     47 		<Class name="com.ibm.icu.text.NFRule"/>
     48 		<Method name="doParse" params="java.lang.String,java.text.ParsePosition,boolean,double" returns="java.lang.Number"/>
     49 		<Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
     50 	</Match>
     51 
     52 	<Match>
     53 		<Class name="com.ibm.icu.impl.UnicodeRegex"/>
     54 		<Field name="log"/>
     55 		<Bug pattern="UWF_NULL_FIELD"/>
     56 	</Match>
     57 
     58 </FindBugsFilter>
     59