From 794fc794096f93adb28e6da003ee54159d4c81cc Mon Sep 17 00:00:00 2001 From: Philip Makedonski <makedonski@informatik.uni-goettingen.de> Date: Fri, 19 May 2023 17:50:19 +0200 Subject: [PATCH] * cleaned up print statements --- .../src/org/etsi/mts/tdl/constraints/evl/Validator.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/org.etsi.mts.tdl.constraints/src/org/etsi/mts/tdl/constraints/evl/Validator.java b/plugins/org.etsi.mts.tdl.constraints/src/org/etsi/mts/tdl/constraints/evl/Validator.java index 439abf60..106ae54d 100644 --- a/plugins/org.etsi.mts.tdl.constraints/src/org/etsi/mts/tdl/constraints/evl/Validator.java +++ b/plugins/org.etsi.mts.tdl.constraints/src/org/etsi/mts/tdl/constraints/evl/Validator.java @@ -278,7 +278,6 @@ public class Validator { URI uri = null; URL location = this.getClass().getProtectionDomain().getCodeSource().getLocation(); String codeLocation = location.toString(); - System.out.println("Location: "+codeLocation); try{ if (codeLocation.endsWith(".jar")) { //Call from jar @@ -286,13 +285,10 @@ public class Validator { //should get file out of jar / bundle instead //TODO: simplify and merge with above, test other cases //TODO: generalise for use in other cases, e.g. for docx and others? - System.out.println("In jar"); try { Enumeration<URL> resources = ClassLoader.getSystemResources(relativePath.replaceAll("epsilon/", "")); URL nextElement = resources.nextElement(); - System.out.println("URL: "+nextElement); uri = nextElement.toURI(); - System.out.println("URI: "+uri); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); -- GitLab