From f6c3da394db55c1e9598ad40a6efaf34311b6353 Mon Sep 17 00:00:00 2001 From: DieGurke Date: Mon, 24 Aug 2020 21:58:36 +0200 Subject: [PATCH] Added Javadoc and removed redundant imports --- client/src/main/java/envoy/client/event/BackEvent.java | 3 +++ client/src/main/java/envoy/client/ui/SceneContext.java | 1 - client/src/main/java/envoy/client/ui/controller/ChatScene.java | 1 - .../main/java/envoy/client/ui/controller/ContactSearchTab.java | 3 --- .../main/java/envoy/client/ui/controller/GroupCreationTab.java | 2 -- 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/client/src/main/java/envoy/client/event/BackEvent.java b/client/src/main/java/envoy/client/event/BackEvent.java index 3394f38..61cdb50 100644 --- a/client/src/main/java/envoy/client/event/BackEvent.java +++ b/client/src/main/java/envoy/client/event/BackEvent.java @@ -14,6 +14,9 @@ public class BackEvent extends Valueless{ private static final long serialVersionUID = 0L; + /** + * @since Envoy Client v0.2-beta + */ public BackEvent() { super(); } } diff --git a/client/src/main/java/envoy/client/ui/SceneContext.java b/client/src/main/java/envoy/client/ui/SceneContext.java index 4db9bf9..63edc06 100644 --- a/client/src/main/java/envoy/client/ui/SceneContext.java +++ b/client/src/main/java/envoy/client/ui/SceneContext.java @@ -1,7 +1,6 @@ package envoy.client.ui; import java.io.IOException; -import java.net.URL; import java.util.Stack; import java.util.logging.Level; diff --git a/client/src/main/java/envoy/client/ui/controller/ChatScene.java b/client/src/main/java/envoy/client/ui/controller/ChatScene.java index d7ff678..071ceba 100644 --- a/client/src/main/java/envoy/client/ui/controller/ChatScene.java +++ b/client/src/main/java/envoy/client/ui/controller/ChatScene.java @@ -7,7 +7,6 @@ import java.awt.datatransfer.StringSelection; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; -import java.net.URL; import java.nio.file.Files; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; diff --git a/client/src/main/java/envoy/client/ui/controller/ContactSearchTab.java b/client/src/main/java/envoy/client/ui/controller/ContactSearchTab.java index 067cfee..1109e18 100644 --- a/client/src/main/java/envoy/client/ui/controller/ContactSearchTab.java +++ b/client/src/main/java/envoy/client/ui/controller/ContactSearchTab.java @@ -9,11 +9,8 @@ import javafx.fxml.FXML; import javafx.scene.control.*; import javafx.scene.control.Alert.AlertType; -import envoy.client.data.LocalDB; import envoy.client.event.BackEvent; import envoy.client.event.SendEvent; -import envoy.client.ui.ClearableTextField; -import envoy.client.ui.SceneContext; import envoy.client.ui.listcell.ContactControl; import envoy.client.ui.listcell.ListCellFactory; import envoy.data.User; diff --git a/client/src/main/java/envoy/client/ui/controller/GroupCreationTab.java b/client/src/main/java/envoy/client/ui/controller/GroupCreationTab.java index 900742a..0dc353d 100644 --- a/client/src/main/java/envoy/client/ui/controller/GroupCreationTab.java +++ b/client/src/main/java/envoy/client/ui/controller/GroupCreationTab.java @@ -7,7 +7,6 @@ import java.util.stream.Collectors; import javafx.application.Platform; import javafx.fxml.FXML; import javafx.scene.control.*; -import javafx.scene.control.Alert.AlertType; import javafx.scene.layout.HBox; import envoy.client.data.Chat; @@ -15,7 +14,6 @@ import envoy.client.data.LocalDB; import envoy.client.event.BackEvent; import envoy.client.event.LoadGroupCreationEvent; import envoy.client.event.SendEvent; -import envoy.client.ui.SceneContext; import envoy.client.ui.listcell.ContactControl; import envoy.client.ui.listcell.ListCellFactory; import envoy.data.Contact;