Commit 320e3bd
Fix UnsafeDereference: Replace !! with checkNotNull in FilterHelper (facebook#56116)
Summary:
Pull Request resolved: facebook#56116
Fixed UnsafeDereference lint warning in FilterHelper.kt.
Replaced `filters.getMap(i)!!` with `checkNotNull(filters.getMap(i))` in `isOnlyColorMatrixFilters` method to match the pattern used in other methods in the same class.
changelog: [internal] internal
Reviewed By: Abbondanzo
Differential Revision: D96784843
fbshipit-source-id: d7e68e5228c6da966b34561609b167e9c16313a31 parent faeef2b commit 320e3bd
File tree
1 file changed
+3
-1
lines changed- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
107 | | - | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
0 commit comments