Lint: Redundant 'new' expression in constant array creation
This commit is contained in:
parent
39e5d8ccc2
commit
00b08318a5
4 changed files with 4 additions and 4 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue