From 78e40e13bdfdd3bb49db9fd8f5ef8cb24a2ce785 Mon Sep 17 00:00:00 2001 From: cyril-colin Date: Mon, 14 Oct 2019 08:45:09 +0200 Subject: [PATCH] suppress serialization warnings --- src/gui/ElevatorPanel.java | 1 + src/gui/FloorPanels.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gui/ElevatorPanel.java b/src/gui/ElevatorPanel.java index 71cbdf8..8c9fd8a 100644 --- a/src/gui/ElevatorPanel.java +++ b/src/gui/ElevatorPanel.java @@ -4,6 +4,7 @@ import java.awt.*; import java.awt.event.*; +@SuppressWarnings("serial") class ElevatorPanel extends JPanel { private JButton emergencyStop = new JButton("Emergency stop."); private JButton[] buttons; diff --git a/src/gui/FloorPanels.java b/src/gui/FloorPanels.java index 25e58c6..3c54ef6 100644 --- a/src/gui/FloorPanels.java +++ b/src/gui/FloorPanels.java @@ -4,6 +4,7 @@ import java.awt.*; import java.awt.event.*; +@SuppressWarnings("serial") class FloorPanels extends JPanel { private int nbFloors; private JPanel[] floors;