From 44b0014f1f3570addeabd694828bd81168e0c8ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20A=2E=20Basti=C3=A3o=20Silva?= Date: Thu, 2 Feb 2017 09:51:41 +0000 Subject: [PATCH] Remove not used dependency (email report). --- dicoogle/pom.xml | 6 ------ dicoogle/src/main/java/pt/ua/dicoogle/Main.java | 12 ++---------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/dicoogle/pom.xml b/dicoogle/pom.xml index 29e1e5919..c3104dee4 100644 --- a/dicoogle/pom.xml +++ b/dicoogle/pom.xml @@ -293,12 +293,6 @@ org.restlet.ext.servlet ${restlet.version} - - com.emailreport - emailReport - 1.0-SNAPSHOT - - commons-codec commons-codec diff --git a/dicoogle/src/main/java/pt/ua/dicoogle/Main.java b/dicoogle/src/main/java/pt/ua/dicoogle/Main.java index a2542a1ce..63c512971 100755 --- a/dicoogle/src/main/java/pt/ua/dicoogle/Main.java +++ b/dicoogle/src/main/java/pt/ua/dicoogle/Main.java @@ -29,7 +29,7 @@ import pt.ua.dicoogle.rGUI.client.windows.ConnectWindow; import pt.ua.dicoogle.sdk.Utils.Platform; import pt.ua.dicoogle.sdk.utils.TagsStruct; -import pt.ua.ieeta.emailreport.Configuration; + import javax.swing.*; import java.awt.*; @@ -203,15 +203,7 @@ public static void LaunchDicoogle() logger.debug("Loading configuration file: {}", Platform.homePath()); - Configuration.initInstance(Platform.homePath()); - try { - Configuration.getInstance().readValues(); - Configuration.getInstance().setProps(new Properties()); - } catch (FileNotFoundException ex) { - //DebugManager.getInstance().log("Missing crash report configuration (sender)\n"); - logger.info("No configuration file"); - } - + /* Load all Server Settings from XML */ ServerSettings settings = new XMLSupport().getXML();