mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix warning in ScrollView classes
Summary: EZ diff to fix warning in ScrollView classes changelog: [internal] internal Reviewed By: JoshuaGross Differential Revision: D31175085 fbshipit-source-id: 2aebcf6b53b82f8d96aadf40db3f459652c69fb2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b12256394e
commit
d97a1a52c5
+1
-1
@@ -40,7 +40,7 @@ public class ReactScrollViewHelper {
|
||||
}
|
||||
|
||||
// Support global native listeners for scroll events
|
||||
private static Set<ScrollListener> sScrollListeners =
|
||||
private static final Set<ScrollListener> sScrollListeners =
|
||||
Collections.newSetFromMap(new WeakHashMap<ScrollListener, Boolean>());
|
||||
|
||||
// If all else fails, this is the hardcoded value in OverScroller.java, in AOSP.
|
||||
|
||||
Reference in New Issue
Block a user