ErrorProne: fix sampler/UnnecessaryParentheses

This commit is contained in:
mkpaz 2023-02-09 15:59:43 +04:00
parent fed1d79a5e
commit b0344ebba2

@ -142,7 +142,7 @@ final class ColorThief {
r = (rgb >> 16) & 0xFF; r = (rgb >> 16) & 0xFF;
g = (rgb >> 8) & 0xFF; g = (rgb >> 8) & 0xFF;
b = (rgb) & 0xFF; b = rgb & 0xFF;
if (!(ignoreWhite && r > 250 && g > 250 && b > 250)) { if (!(ignoreWhite && r > 250 && g > 250 && b > 250)) {
res[numUsedPixels] = new int[] { r, g, b }; res[numUsedPixels] = new int[] { r, g, b };
numUsedPixels++; numUsedPixels++;