blob: 91aa3de6eeaed344fd21fed4edb8fe1848b3db34 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
* © 2016 and later: Unicode, Inc. and others.
* License & terms of use: http://www.unicode.org/copyright.html#License
*******************************************************************************
* 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>