Skip to content

Commit

Permalink
add missing serialVersionUIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtomi committed Nov 25, 2022
1 parent cf8bea8 commit f003cd0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/vamk/tbg/ui/ButtonContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.io.Serial;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ButtonContainer extends JPanel implements Tickable {
@Serial
private static final long serialVersionUID = -1848838910296723317L;
// TODO remove static instance
private static ButtonContainer instance;
private final Awaitable<Entity> entity;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/vamk/tbg/ui/EntityDataContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@

import javax.swing.JPanel;
import java.awt.GridLayout;
import java.io.Serial;
import java.util.HashMap;
import java.util.Map;

public class EntityDataContainer extends JPanel {
@Serial
private static final long serialVersionUID = -7455891810519039109L;
private final Map<Integer, EntityData> entityData;

public EntityDataContainer(SignalDispatcher dispatcher) {
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/vamk/tbg/ui/GameWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
import java.awt.GridLayout;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.io.Serial;

public class GameWindow extends JFrame implements WindowListener {
@Serial
private static final long serialVersionUID = 3210313597488494598L;
private final JLabel entityLabel;
private final Runnable shutdownHook;

Expand Down

0 comments on commit f003cd0

Please sign in to comment.