From b9f67d8363e01228930b1a1c2101681711fee90e Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 14 Aug 2024 02:46:06 +0200 Subject: [PATCH] Removed unuseful htmlize option in configuration file. --- .../statoolinfos/core/Configuration.java | 17 ----------------- .../statoolinfos/core/StatoolInfosContext.java | 4 ++-- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/src/fr/devinsy/statoolinfos/core/Configuration.java b/src/fr/devinsy/statoolinfos/core/Configuration.java index 6912c68..b0a1fca 100644 --- a/src/fr/devinsy/statoolinfos/core/Configuration.java +++ b/src/fr/devinsy/statoolinfos/core/Configuration.java @@ -317,23 +317,6 @@ public class Configuration extends PathPropertyList return result; } - /** - * Gets the htmlize input URL. - * - * @return the htmlize input URL - * @throws MalformedURLException - * the malformed URL exception - */ - public URL getHtmlizeInputURL() throws MalformedURLException - { - URL result; - - result = new URL(get("conf.htmlize.input")); - - // - return result; - } - /** * Gets the probe http access log date pattern. * diff --git a/src/fr/devinsy/statoolinfos/core/StatoolInfosContext.java b/src/fr/devinsy/statoolinfos/core/StatoolInfosContext.java index af1de1a..1495234 100644 --- a/src/fr/devinsy/statoolinfos/core/StatoolInfosContext.java +++ b/src/fr/devinsy/statoolinfos/core/StatoolInfosContext.java @@ -65,7 +65,7 @@ public class StatoolInfosContext this.configuration = Factory.loadConfiguration(configurationFile); logger.info("Cache setting: {}", this.configuration.getCrawlCachePath()); - logger.info("Htmlize input setting: {}", this.configuration.getHtmlizeInputURL()); + logger.info("Cache input setting: {}", this.configuration.getCrawlInputURL()); this.cache = new CrawlCache(this.configuration.getCrawlCacheDirectory()); @@ -73,7 +73,7 @@ public class StatoolInfosContext { long startTime = System.currentTimeMillis(); System.out.println("Loading configuration file."); - this.federation = Factory.loadFederation(this.configuration.getHtmlizeInputURL(), this.cache); + this.federation = Factory.loadFederation(this.configuration.getCrawlInputURL(), this.cache); if (this.configuration.isCategoryFileDefined()) { this.categories = Factory.loadCategories(this.configuration.getCategoryFile(), this.federation);