aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2014-12-15 11:39:18 -0500
committerSam Whited <sam@samwhited.com>2014-12-15 11:39:18 -0500
commitea61142d7e5c2059913b767f96ebee5053cdb4f7 (patch)
tree05c7744910b72532c7d325936fadcb06fbfcad2a
parentaf0f8e87bba814039208fb7e7f591b7cfe36044e (diff)
Make some magic number constants final
-rw-r--r--src/main/java/eu/siacs/conversations/services/NotificationService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java
index e13ef1b3..9e21d160 100644
--- a/src/main/java/eu/siacs/conversations/services/NotificationService.java
+++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java
@@ -42,9 +42,9 @@ public class NotificationService {
private final LinkedHashMap<String, ArrayList<Message>> notifications = new LinkedHashMap<>();
- public static int NOTIFICATION_ID = 0x2342;
- public static int FOREGROUND_NOTIFICATION_ID = 0x8899;
- public static int ERROR_NOTIFICATION_ID = 0x5678;
+ public static final int NOTIFICATION_ID = 0x2342;
+ public static final int FOREGROUND_NOTIFICATION_ID = 0x8899;
+ public static final int ERROR_NOTIFICATION_ID = 0x5678;
private Conversation mOpenConversation;
private boolean mIsInForeground;