Lint: Redundant 'new' expression in constant array creation

This commit is contained in:
TacoTheDank 2020-11-18 17:52:30 -05:00
parent 497e145c70
commit c1aca23fa4
4 changed files with 4 additions and 4 deletions

View file

@ -157,7 +157,7 @@ public final class AnimationUtils {
+ "colorStart = [" + colorStart + "], colorEnd = [" + colorEnd + "]");
}
final int[][] empty = new int[][]{new int[0]};
final int[][] empty = {new int[0]};
final ValueAnimator viewPropertyAnimator = ValueAnimator
.ofObject(new ArgbEvaluator(), colorStart, colorEnd);
viewPropertyAnimator.setInterpolator(new FastOutSlowInInterpolator());