From df14ab9d3351a9d54dff508574d5a7a06cb0fbe9 Mon Sep 17 00:00:00 2001 From: Jeff Bahr Date: Fri, 11 Oct 2024 15:11:02 -0700 Subject: [PATCH] Update google-java-format to 1.23.0 (#46860) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46860 Pulling library into our repository Result of: arc artificer download com.google.googlejavaformat:google-java-format:1.23.0 --interactive Deps ``` ➜ arc artificer rquery dependencies --cross-reference com.google.googlejavaformat:google-java-format:1.23.0 com.google.googlejavaformat:google-java-format:1.23.0 ✅ └╼ com.google.guava:guava:32.1.3-jre:compile ✅ ``` Formatted with ``` tools/arcanist/lint/codemods/googlejavaformat_fbsource ``` Reviewed By: hick209 Differential Revision: D60787993 --- .../com/facebook/react/uimanager/events/PointerEvent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/PointerEvent.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/PointerEvent.java index b4ed223d41ed0d..ab106403070db8 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/PointerEvent.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/PointerEvent.java @@ -278,12 +278,12 @@ private List createPointersEventData() { int activePointerIndex = mMotionEvent.getActionIndex(); List pointersEventData = null; switch (mEventName) { - // Cases where all pointer info is relevant + // Cases where all pointer info is relevant case PointerEventHelper.POINTER_MOVE: case PointerEventHelper.POINTER_CANCEL: pointersEventData = createW3CPointerEvents(); break; - // Cases where only the "active" pointer info is relevant + // Cases where only the "active" pointer info is relevant case PointerEventHelper.POINTER_ENTER: case PointerEventHelper.POINTER_DOWN: case PointerEventHelper.POINTER_UP: