From 8063caf35f9bbf1c46d19e0212cb6a8e440a0df0 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Thu, 21 May 2026 17:56:39 +0200 Subject: [PATCH] chore: format java code --- .../localnotifications/LocalNotificationsPlugin.java | 2 +- .../pushnotifications/PushNotificationsPlugin.java | 2 +- .../capacitorjs/plugins/splashscreen/SplashScreen.java | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java b/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java index fa5352ee8..197de4ae6 100644 --- a/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java +++ b/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java @@ -32,7 +32,7 @@ @CapacitorPlugin( name = "LocalNotifications", - permissions = @Permission(strings = {Manifest.permission.POST_NOTIFICATIONS}, alias = LocalNotificationsPlugin.LOCAL_NOTIFICATIONS) + permissions = @Permission(strings = { Manifest.permission.POST_NOTIFICATIONS }, alias = LocalNotificationsPlugin.LOCAL_NOTIFICATIONS) ) public class LocalNotificationsPlugin extends Plugin { diff --git a/push-notifications/android/src/main/java/com/capacitorjs/plugins/pushnotifications/PushNotificationsPlugin.java b/push-notifications/android/src/main/java/com/capacitorjs/plugins/pushnotifications/PushNotificationsPlugin.java index 3c652cf4a..6d339d6df 100644 --- a/push-notifications/android/src/main/java/com/capacitorjs/plugins/pushnotifications/PushNotificationsPlugin.java +++ b/push-notifications/android/src/main/java/com/capacitorjs/plugins/pushnotifications/PushNotificationsPlugin.java @@ -26,7 +26,7 @@ @CapacitorPlugin( name = "PushNotifications", - permissions = @Permission(strings = {Manifest.permission.POST_NOTIFICATIONS}, alias = PushNotificationsPlugin.PUSH_NOTIFICATIONS) + permissions = @Permission(strings = { Manifest.permission.POST_NOTIFICATIONS }, alias = PushNotificationsPlugin.PUSH_NOTIFICATIONS) ) public class PushNotificationsPlugin extends Plugin { diff --git a/splash-screen/android/src/main/java/com/capacitorjs/plugins/splashscreen/SplashScreen.java b/splash-screen/android/src/main/java/com/capacitorjs/plugins/splashscreen/SplashScreen.java index 30aa8f3ae..756a2d6d5 100644 --- a/splash-screen/android/src/main/java/com/capacitorjs/plugins/splashscreen/SplashScreen.java +++ b/splash-screen/android/src/main/java/com/capacitorjs/plugins/splashscreen/SplashScreen.java @@ -338,12 +338,12 @@ private void buildViews() { Integer spinnerBarColor = config.getSpinnerColor(); if (spinnerBarColor != null) { int[][] states = new int[][] { - new int[] {android.R.attr.state_enabled}, // enabled - new int[] {-android.R.attr.state_enabled}, // disabled - new int[] {-android.R.attr.state_checked}, // unchecked - new int[] {android.R.attr.state_pressed} // pressed + new int[] { android.R.attr.state_enabled }, // enabled + new int[] { -android.R.attr.state_enabled }, // disabled + new int[] { -android.R.attr.state_checked }, // unchecked + new int[] { android.R.attr.state_pressed } // pressed }; - int[] colors = new int[] {spinnerBarColor, spinnerBarColor, spinnerBarColor, spinnerBarColor}; + int[] colors = new int[] { spinnerBarColor, spinnerBarColor, spinnerBarColor, spinnerBarColor }; ColorStateList colorStateList = new ColorStateList(states, colors); spinnerBar.setIndeterminateTintList(colorStateList); }