commons-math icon indicating copy to clipboard operation
commons-math copied to clipboard

Remove the useless condition "variablesToInclude.length > 1".

Open Kui-Liu opened this issue 8 years ago • 1 comments

The condition "variablesToInclude.length > 1" has no effect on the current statement. This condition always produces the same result as the value of variablesToInclude.length was narrowed before. http://findbugs.sourceforge.net/bugDescriptions.html#UC_USELESS_CONDITION

Kui-Liu avatar Oct 10 '17 07:10 Kui-Liu

Coverage Status

Coverage decreased (-0.009%) to 89.954% when pulling ce381a4fa5bf22b389af4db8f8d9c059ef7fff66 on BruceKuiLiu:useless-condition into eafb16c711d5cd79edad5fbb2055252acdb3825e on apache:master.

coveralls avatar Oct 10 '17 08:10 coveralls