From 03572139b71e42813092b9c19b9e2c15a16ee681 Mon Sep 17 00:00:00 2001 From: "Notmoo-PC\\Notmoo" Date: Wed, 23 Aug 2017 13:21:31 +0200 Subject: [PATCH] Module Client, clss StatScreenView : suppr de l'utilisation de la clss com.sun.deploy.util.StringUtils --- .../com/pqt/client/gui/modules/stat_screen/StatScreenView.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Workspace/client/src/main/java/com/pqt/client/gui/modules/stat_screen/StatScreenView.java b/Workspace/client/src/main/java/com/pqt/client/gui/modules/stat_screen/StatScreenView.java index ca13ed3d..a9a79644 100644 --- a/Workspace/client/src/main/java/com/pqt/client/gui/modules/stat_screen/StatScreenView.java +++ b/Workspace/client/src/main/java/com/pqt/client/gui/modules/stat_screen/StatScreenView.java @@ -2,7 +2,6 @@ package com.pqt.client.gui.modules.stat_screen; import com.pqt.client.gui.ressources.components.generics.IFXComponent; import com.pqt.client.gui.ressources.css.GUICssTool; -import com.sun.deploy.util.StringUtils; import javafx.application.Platform; import javafx.scene.control.TextArea; import javafx.scene.layout.Pane; @@ -43,7 +42,7 @@ class StatScreenView implements IFXComponent { .map(key->String.format(" * %s : %s", key, statistics.get(key))) .collect(Collectors.toList())); - Platform.runLater(()->statTextArea.setText(StringUtils.join(lines, "\n"))); + Platform.runLater(()->lines.forEach(line -> statTextArea.appendText(line+"\n"))); } @Override