From 72483be9149b4d617ec6ea92cd162220f9632441 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 24 Feb 2023 00:55:06 +0100 Subject: [PATCH] Moved HttpErrorLog analyzer in dedicated package. --- src/fr/devinsy/statoolinfos/metrics/Prober.java | 2 +- .../metrics/{http => httperrorlog}/HttpErrorLog.java | 4 ++-- .../metrics/{http => httperrorlog}/HttpErrorLogAnalyzer.java | 4 ++-- .../statoolinfos/metrics/http/UserAgentBotDetectorTest.java | 2 +- .../devinsy/statoolinfos/metrics/http/VisitCountersTest.java | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) rename src/fr/devinsy/statoolinfos/metrics/{http => httperrorlog}/HttpErrorLog.java (96%) rename src/fr/devinsy/statoolinfos/metrics/{http => httperrorlog}/HttpErrorLogAnalyzer.java (98%) diff --git a/src/fr/devinsy/statoolinfos/metrics/Prober.java b/src/fr/devinsy/statoolinfos/metrics/Prober.java index f17fdbc..1ba9c9e 100644 --- a/src/fr/devinsy/statoolinfos/metrics/Prober.java +++ b/src/fr/devinsy/statoolinfos/metrics/Prober.java @@ -45,7 +45,7 @@ import fr.devinsy.statoolinfos.metrics.gitea.GiteaProber; import fr.devinsy.statoolinfos.metrics.gsl.GSLProber; import fr.devinsy.statoolinfos.metrics.http.HttpAccessLogAnalyzer; import fr.devinsy.statoolinfos.metrics.http.HttpAccessLogs; -import fr.devinsy.statoolinfos.metrics.http.HttpErrorLogAnalyzer; +import fr.devinsy.statoolinfos.metrics.httperrorlog.HttpErrorLogAnalyzer; import fr.devinsy.statoolinfos.metrics.libreqr.LibreQRProber; import fr.devinsy.statoolinfos.metrics.minetest.MinetestProber; import fr.devinsy.statoolinfos.metrics.mumble.MumbleProber; diff --git a/src/fr/devinsy/statoolinfos/metrics/http/HttpErrorLog.java b/src/fr/devinsy/statoolinfos/metrics/httperrorlog/HttpErrorLog.java similarity index 96% rename from src/fr/devinsy/statoolinfos/metrics/http/HttpErrorLog.java rename to src/fr/devinsy/statoolinfos/metrics/httperrorlog/HttpErrorLog.java index e3f7594..05b2b4d 100644 --- a/src/fr/devinsy/statoolinfos/metrics/http/HttpErrorLog.java +++ b/src/fr/devinsy/statoolinfos/metrics/httperrorlog/HttpErrorLog.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Christian Pierre MOMON + * Copyright (C) 2021-2023 Christian Pierre MOMON * * This file is part of StatoolInfos, simple service statistics tool. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with StatoolInfos. If not, see . */ -package fr.devinsy.statoolinfos.metrics.http; +package fr.devinsy.statoolinfos.metrics.httperrorlog; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; diff --git a/src/fr/devinsy/statoolinfos/metrics/http/HttpErrorLogAnalyzer.java b/src/fr/devinsy/statoolinfos/metrics/httperrorlog/HttpErrorLogAnalyzer.java similarity index 98% rename from src/fr/devinsy/statoolinfos/metrics/http/HttpErrorLogAnalyzer.java rename to src/fr/devinsy/statoolinfos/metrics/httperrorlog/HttpErrorLogAnalyzer.java index c845f25..d978ac8 100644 --- a/src/fr/devinsy/statoolinfos/metrics/http/HttpErrorLogAnalyzer.java +++ b/src/fr/devinsy/statoolinfos/metrics/httperrorlog/HttpErrorLogAnalyzer.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020-2021 Christian Pierre MOMON + * Copyright (C) 2020-2023 Christian Pierre MOMON * * This file is part of StatoolInfos, simple service statistics tool. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with StatoolInfos. If not, see . */ -package fr.devinsy.statoolinfos.metrics.http; +package fr.devinsy.statoolinfos.metrics.httperrorlog; import java.io.File; import java.io.IOException; diff --git a/test/fr/devinsy/statoolinfos/metrics/http/UserAgentBotDetectorTest.java b/test/fr/devinsy/statoolinfos/metrics/http/UserAgentBotDetectorTest.java index 17f0772..6f99734 100644 --- a/test/fr/devinsy/statoolinfos/metrics/http/UserAgentBotDetectorTest.java +++ b/test/fr/devinsy/statoolinfos/metrics/http/UserAgentBotDetectorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Christian Pierre MOMON + * Copyright (C) 2021-2023 Christian Pierre MOMON * * This file is part of StatoolInfos, simple key value database. * diff --git a/test/fr/devinsy/statoolinfos/metrics/http/VisitCountersTest.java b/test/fr/devinsy/statoolinfos/metrics/http/VisitCountersTest.java index 47e23b6..a97a521 100644 --- a/test/fr/devinsy/statoolinfos/metrics/http/VisitCountersTest.java +++ b/test/fr/devinsy/statoolinfos/metrics/http/VisitCountersTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Christian Pierre MOMON + * Copyright (C) 2021-2023 Christian Pierre MOMON * * This file is part of StatoolInfos, simple key value database. *