[spotbugs] silence warnings for intended use of == to compare strings
Change-Id: Ib6967ad4deb5cf233d1f1d714cd094da5fad48e3 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
a56624349e
commit
15998622fa
|
@ -29,6 +29,24 @@
|
|||
<Bug pattern="DM_STRING_VOID_CTOR"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<Class name="org.eclipse.jgit.lib.Config" />
|
||||
<Method name="isMissing" />
|
||||
<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<Class name="org.eclipse.jgit.transport.PacketLineIn" />
|
||||
<Method name="isDelimiter" />
|
||||
<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<Class name="org.eclipse.jgit.transport.PacketLineIn" />
|
||||
<Method name="isEnd" />
|
||||
<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ"/>
|
||||
</Match>
|
||||
|
||||
<!-- Silence comparison of string by == or !=. This class is built
|
||||
only to provide compare of string values, we won't make a mistake
|
||||
here with == assuming .equals() style equality.
|
||||
|
|
Loading…
Reference in New Issue