Skip to content

Commit 661f283

Browse files
committed
IPTE-149: Remove formatter tags from enum
Important: Change 'Code Style -> Java -> Wrapping and Braces -> Enum constants' to 'Wrap always'
1 parent 45e5bac commit 661f283

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

src/main/java/de/doubleslash/usb_led_matrix/model/AvailabilityStatus.java

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,15 @@
33
import javafx.scene.paint.Color;
44

55
public enum AvailabilityStatus {
6-
// @formatter:off
7-
Available(Color.GREEN,"available"),
6+
Available(Color.GREEN, "available"),
87
AvailableIdle(Color.GREEN, Available.propertyKey),
9-
Away(Color.ORANGE,"away"),
10-
BeRightBack(Color.ORANGE,"beRightBack"),
11-
Busy(Color.RED,"busy"),
12-
BusyIdle(Color.RED,Busy.propertyKey),
13-
DoNotDisturb(Color.RED,"doNotDisturb"),
14-
Offline(Color.BLACK,null),
15-
PresenceUnknown(null,null);
16-
// @formatter:on
8+
Away(Color.ORANGE, "away"),
9+
BeRightBack(Color.ORANGE, "beRightBack"),
10+
Busy(Color.RED, "busy"),
11+
BusyIdle(Color.RED, Busy.propertyKey),
12+
DoNotDisturb(Color.RED, "doNotDisturb"),
13+
Offline(Color.BLACK, null),
14+
PresenceUnknown(null, null);
1715

1816
private Color color;
1917
private final String propertyKey;

src/main/java/de/doubleslash/usb_led_matrix/resources/Resources.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@
44
import java.net.URL;
55

66
public enum Resources {
7-
// @formatter:off
8-
97
CONFIGURATION_VIEW("/layouts/configuration.fxml"),
108
AUTHENTICATION_VIEW("/layouts/authentication.fxml"),
119
INFO_VIEW("/layouts/version.fxml"),
12-
SETTINGS_VIEW ("/layouts/settings.fxml");
13-
// @formatter:on
10+
SETTINGS_VIEW("/layouts/settings.fxml");
1411

1512
private final String location;
1613

0 commit comments

Comments
 (0)