From fc1e82c2ecd0f306d1dacae2297cfb1c073c2ade Mon Sep 17 00:00:00 2001 From: delvh Date: Thu, 26 Mar 2020 17:21:15 +0100 Subject: [PATCH] Changed serialVersionUID everywhere to 0L --- src/main/java/envoy/client/data/Cache.java | 2 +- src/main/java/envoy/client/ui/Color.java | 2 +- src/main/java/envoy/client/ui/container/LoginDialog.java | 2 +- src/main/java/envoy/client/ui/primary/PrimaryScrollPane.java | 2 +- src/main/java/envoy/client/ui/primary/PrimaryTextArea.java | 2 +- src/main/java/envoy/client/ui/renderer/UserListRenderer.java | 2 +- .../java/envoy/client/ui/settings/GeneralSettingsPanel.java | 2 +- .../java/envoy/client/ui/settings/ThemeCustomizationPanel.java | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/envoy/client/data/Cache.java b/src/main/java/envoy/client/data/Cache.java index 5a92463..8060d2e 100644 --- a/src/main/java/envoy/client/data/Cache.java +++ b/src/main/java/envoy/client/data/Cache.java @@ -25,7 +25,7 @@ public class Cache implements Consumer, Serializable { private transient Consumer processor; private static final Logger logger = EnvoyLog.getLogger(Cache.class); - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; /** * Adds an element to the cache. diff --git a/src/main/java/envoy/client/ui/Color.java b/src/main/java/envoy/client/ui/Color.java index bb89943..da58bbb 100644 --- a/src/main/java/envoy/client/ui/Color.java +++ b/src/main/java/envoy/client/ui/Color.java @@ -81,7 +81,7 @@ public class Color extends java.awt.Color { */ public static final Color blue = new Color(0, 0, 255); - private static final long serialVersionUID = -9166233199998257344L; + private static final long serialVersionUID = 0L; public Color(java.awt.Color other) { this(other.getRGB()); } diff --git a/src/main/java/envoy/client/ui/container/LoginDialog.java b/src/main/java/envoy/client/ui/container/LoginDialog.java index d2cad9f..0d9f034 100644 --- a/src/main/java/envoy/client/ui/container/LoginDialog.java +++ b/src/main/java/envoy/client/ui/container/LoginDialog.java @@ -65,7 +65,7 @@ public class LoginDialog extends JDialog { private static final ClientConfig config = ClientConfig.getInstance(); private static final Logger logger = EnvoyLog.getLogger(LoginDialog.class); - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; /** * Displays a dialog enabling the user to enter their user name and password. diff --git a/src/main/java/envoy/client/ui/primary/PrimaryScrollPane.java b/src/main/java/envoy/client/ui/primary/PrimaryScrollPane.java index a27b075..e02502b 100644 --- a/src/main/java/envoy/client/ui/primary/PrimaryScrollPane.java +++ b/src/main/java/envoy/client/ui/primary/PrimaryScrollPane.java @@ -14,7 +14,7 @@ import envoy.client.ui.Theme; */ public class PrimaryScrollPane extends JScrollPane { - private static final long serialVersionUID = -4786837444056228439L; + private static final long serialVersionUID = 0L; private int verticalScrollBarMaximum = getVerticalScrollBar().getMaximum(); private boolean chatOpened = false; diff --git a/src/main/java/envoy/client/ui/primary/PrimaryTextArea.java b/src/main/java/envoy/client/ui/primary/PrimaryTextArea.java index 40bf167..37d05eb 100644 --- a/src/main/java/envoy/client/ui/primary/PrimaryTextArea.java +++ b/src/main/java/envoy/client/ui/primary/PrimaryTextArea.java @@ -16,7 +16,7 @@ import javax.swing.border.EmptyBorder; */ public class PrimaryTextArea extends JTextArea { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; private int arcSize; /** diff --git a/src/main/java/envoy/client/ui/renderer/UserListRenderer.java b/src/main/java/envoy/client/ui/renderer/UserListRenderer.java index 0ed15a2..70e8e72 100644 --- a/src/main/java/envoy/client/ui/renderer/UserListRenderer.java +++ b/src/main/java/envoy/client/ui/renderer/UserListRenderer.java @@ -24,7 +24,7 @@ import envoy.data.User.UserStatus; */ public class UserListRenderer extends JLabel implements ListCellRenderer { - private static final long serialVersionUID = 5164417379767181198L; + private static final long serialVersionUID = 0L; /** * {@inheritDoc} diff --git a/src/main/java/envoy/client/ui/settings/GeneralSettingsPanel.java b/src/main/java/envoy/client/ui/settings/GeneralSettingsPanel.java index 5b88ce4..372478b 100644 --- a/src/main/java/envoy/client/ui/settings/GeneralSettingsPanel.java +++ b/src/main/java/envoy/client/ui/settings/GeneralSettingsPanel.java @@ -30,7 +30,7 @@ public class GeneralSettingsPanel extends SettingsPanel { private static final String[] items = { "onCloseMode", "enterToSend" }; private static final Logger logger = EnvoyLog.getLogger(GeneralSettingsPanel.class); - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; /** * This is the constructor for the General class. Here the user can set general diff --git a/src/main/java/envoy/client/ui/settings/ThemeCustomizationPanel.java b/src/main/java/envoy/client/ui/settings/ThemeCustomizationPanel.java index 44eb026..b6eb832 100755 --- a/src/main/java/envoy/client/ui/settings/ThemeCustomizationPanel.java +++ b/src/main/java/envoy/client/ui/settings/ThemeCustomizationPanel.java @@ -39,7 +39,7 @@ public class ThemeCustomizationPanel extends SettingsPanel { private final Insets insets = new Insets(5, 5, 5, 5); private static final Logger logger = EnvoyLog.getLogger(ThemeCustomizationPanel.class); - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; /** * Initializes a {@link ThemeCustomizationPanel} that enables the user to change