Skip to content

Commit d32b1c6

Browse files
authored
chore: format java code (#2536)
1 parent 265ca0b commit d32b1c6

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
@CapacitorPlugin(
3434
name = "LocalNotifications",
35-
permissions = @Permission(strings = {Manifest.permission.POST_NOTIFICATIONS}, alias = LocalNotificationsPlugin.LOCAL_NOTIFICATIONS)
35+
permissions = @Permission(strings = { Manifest.permission.POST_NOTIFICATIONS }, alias = LocalNotificationsPlugin.LOCAL_NOTIFICATIONS)
3636
)
3737
public class LocalNotificationsPlugin extends Plugin {
3838

push-notifications/android/src/main/java/com/capacitorjs/plugins/pushnotifications/PushNotificationsPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
@CapacitorPlugin(
2828
name = "PushNotifications",
29-
permissions = @Permission(strings = {Manifest.permission.POST_NOTIFICATIONS}, alias = PushNotificationsPlugin.PUSH_NOTIFICATIONS)
29+
permissions = @Permission(strings = { Manifest.permission.POST_NOTIFICATIONS }, alias = PushNotificationsPlugin.PUSH_NOTIFICATIONS)
3030
)
3131
public class PushNotificationsPlugin extends Plugin {
3232

splash-screen/android/src/main/java/com/capacitorjs/plugins/splashscreen/SplashScreen.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,12 @@ private void buildViews() {
338338
Integer spinnerBarColor = config.getSpinnerColor();
339339
if (spinnerBarColor != null) {
340340
int[][] states = new int[][] {
341-
new int[] {android.R.attr.state_enabled}, // enabled
342-
new int[] {-android.R.attr.state_enabled}, // disabled
343-
new int[] {-android.R.attr.state_checked}, // unchecked
344-
new int[] {android.R.attr.state_pressed} // pressed
341+
new int[] { android.R.attr.state_enabled }, // enabled
342+
new int[] { -android.R.attr.state_enabled }, // disabled
343+
new int[] { -android.R.attr.state_checked }, // unchecked
344+
new int[] { android.R.attr.state_pressed } // pressed
345345
};
346-
int[] colors = new int[] {spinnerBarColor, spinnerBarColor, spinnerBarColor, spinnerBarColor};
346+
int[] colors = new int[] { spinnerBarColor, spinnerBarColor, spinnerBarColor, spinnerBarColor };
347347
ColorStateList colorStateList = new ColorStateList(states, colors);
348348
spinnerBar.setIndeterminateTintList(colorStateList);
349349
}

0 commit comments

Comments
 (0)