From f69a43fb19cb9dbe7d6165ef2b3fb42560bcd6d0 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 14 Aug 2024 02:30:00 +0200 Subject: [PATCH] Fixed duplicated serialVersionUID in classes. --- src/fr/devinsy/statoolinfosweb/charts/DateCountList.java | 2 +- src/fr/devinsy/statoolinfosweb/charts/DateCountMap.java | 2 +- src/website/IndexXhtml.java | 2 +- src/website/federation/LogoDo.java | 2 +- src/website/federation/PropertyAlertFederationPage.java | 2 +- src/website/federation/PropertyAlertPage.java | 2 +- src/website/federation/PropertyAlertServicesPage.java | 2 +- src/website/federation/PropertyStatsFederationPage.java | 2 +- src/website/federation/PropertyStatsOrganizationsPage.java | 2 +- src/website/federation/PropertyStatsPage.java | 2 +- src/website/federation/PropertyStatsServicesPage.java | 2 +- src/website/federation/organizations/IndexPage.java | 2 +- .../federation/organizations/organization/PropertiesDo.java | 2 +- .../organizations/organization/metrics/IndexPage.java | 2 +- .../organizations/organization/services/IndexPage.java | 2 +- .../organization/services/service/IndexPage.java | 2 +- .../organization/services/service/PropertiesDo.java | 2 +- .../organization/services/service/metrics/IndexPage.java | 5 +++-- 18 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/fr/devinsy/statoolinfosweb/charts/DateCountList.java b/src/fr/devinsy/statoolinfosweb/charts/DateCountList.java index 776d303..3d18e35 100644 --- a/src/fr/devinsy/statoolinfosweb/charts/DateCountList.java +++ b/src/fr/devinsy/statoolinfosweb/charts/DateCountList.java @@ -29,7 +29,7 @@ import fr.devinsy.strings.StringList; */ public class DateCountList extends ArrayList { - private static final long serialVersionUID = -5526492552751712533L; + private static final long serialVersionUID = -2586123069620428247L; /** * Instantiates a new date count map. diff --git a/src/fr/devinsy/statoolinfosweb/charts/DateCountMap.java b/src/fr/devinsy/statoolinfosweb/charts/DateCountMap.java index 9440625..33cc185 100644 --- a/src/fr/devinsy/statoolinfosweb/charts/DateCountMap.java +++ b/src/fr/devinsy/statoolinfosweb/charts/DateCountMap.java @@ -25,7 +25,7 @@ import java.util.HashMap; */ public class DateCountMap extends HashMap { - private static final long serialVersionUID = -5526492552751712533L; + private static final long serialVersionUID = 1128805109299054737L; /** * Instantiates a new date count map. diff --git a/src/website/IndexXhtml.java b/src/website/IndexXhtml.java index 1e9cd6d..c1131e8 100644 --- a/src/website/IndexXhtml.java +++ b/src/website/IndexXhtml.java @@ -32,7 +32,7 @@ import website.charter.ErrorView; */ public class IndexXhtml extends HttpServlet { - private static final long serialVersionUID = 2794788000773558854L; + private static final long serialVersionUID = 5475871579048385643L; private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(IndexXhtml.class); /* (non-Javadoc) diff --git a/src/website/federation/LogoDo.java b/src/website/federation/LogoDo.java index 996c914..7e0bba4 100644 --- a/src/website/federation/LogoDo.java +++ b/src/website/federation/LogoDo.java @@ -44,7 +44,7 @@ import jakarta.servlet.http.HttpServletResponse; @KissServlet("^/federation/logo.(jpg|png|gif|svg)$") public class LogoDo extends HttpServlet { - private static final long serialVersionUID = -8274687319890495722L; + private static final long serialVersionUID = -2045864664869054230L; private static Logger logger = LoggerFactory.getLogger(LogoDo.class); /* (non-Javadoc) diff --git a/src/website/federation/PropertyAlertFederationPage.java b/src/website/federation/PropertyAlertFederationPage.java index a430922..4814859 100644 --- a/src/website/federation/PropertyAlertFederationPage.java +++ b/src/website/federation/PropertyAlertFederationPage.java @@ -43,7 +43,7 @@ import website.views.PropertyAlertView.MenuOption; */ public class PropertyAlertFederationPage extends HttpServlet { - private static final long serialVersionUID = 5318172674334358487L; + private static final long serialVersionUID = 5145544554225024765L; private static Logger logger = LoggerFactory.getLogger(PropertyAlertFederationPage.class); /* (non-Javadoc) diff --git a/src/website/federation/PropertyAlertPage.java b/src/website/federation/PropertyAlertPage.java index e276a9d..1c27268 100644 --- a/src/website/federation/PropertyAlertPage.java +++ b/src/website/federation/PropertyAlertPage.java @@ -43,7 +43,7 @@ import website.views.PropertyAlertView.MenuOption; */ public class PropertyAlertPage extends HttpServlet { - private static final long serialVersionUID = 5318172674334358487L; + private static final long serialVersionUID = 6674551983811751746L; private static Logger logger = LoggerFactory.getLogger(PropertyAlertPage.class); /* (non-Javadoc) diff --git a/src/website/federation/PropertyAlertServicesPage.java b/src/website/federation/PropertyAlertServicesPage.java index 3ccd677..8bd3ace 100644 --- a/src/website/federation/PropertyAlertServicesPage.java +++ b/src/website/federation/PropertyAlertServicesPage.java @@ -44,7 +44,7 @@ import website.views.PropertyAlertView.MenuOption; */ public class PropertyAlertServicesPage extends HttpServlet { - private static final long serialVersionUID = 5318172674334358487L; + private static final long serialVersionUID = -1230801146098997767L; private static Logger logger = LoggerFactory.getLogger(PropertyAlertServicesPage.class); /* (non-Javadoc) diff --git a/src/website/federation/PropertyStatsFederationPage.java b/src/website/federation/PropertyStatsFederationPage.java index 5fe2ce7..57ea73d 100644 --- a/src/website/federation/PropertyStatsFederationPage.java +++ b/src/website/federation/PropertyStatsFederationPage.java @@ -43,7 +43,7 @@ import website.views.PropertyStatsView; */ public class PropertyStatsFederationPage extends HttpServlet { - private static final long serialVersionUID = 3895257190078166862L; + private static final long serialVersionUID = 8232521281178380986L; private static Logger logger = LoggerFactory.getLogger(PropertyStatsFederationPage.class); /* (non-Javadoc) diff --git a/src/website/federation/PropertyStatsOrganizationsPage.java b/src/website/federation/PropertyStatsOrganizationsPage.java index 24767f7..149e9bb 100644 --- a/src/website/federation/PropertyStatsOrganizationsPage.java +++ b/src/website/federation/PropertyStatsOrganizationsPage.java @@ -43,7 +43,7 @@ import website.views.PropertyStatsView; */ public class PropertyStatsOrganizationsPage extends HttpServlet { - private static final long serialVersionUID = 3895257190078166862L; + private static final long serialVersionUID = 1359431232426181125L; private static Logger logger = LoggerFactory.getLogger(PropertyStatsOrganizationsPage.class); /* (non-Javadoc) diff --git a/src/website/federation/PropertyStatsPage.java b/src/website/federation/PropertyStatsPage.java index 441c5fe..cd8e6ff 100644 --- a/src/website/federation/PropertyStatsPage.java +++ b/src/website/federation/PropertyStatsPage.java @@ -44,7 +44,7 @@ import website.views.PropertyStatsView; */ public class PropertyStatsPage extends HttpServlet { - private static final long serialVersionUID = 3895257190078166862L; + private static final long serialVersionUID = -2375749701066813584L; private static Logger logger = LoggerFactory.getLogger(PropertyStatsPage.class); /* (non-Javadoc) diff --git a/src/website/federation/PropertyStatsServicesPage.java b/src/website/federation/PropertyStatsServicesPage.java index 902a727..2407df8 100644 --- a/src/website/federation/PropertyStatsServicesPage.java +++ b/src/website/federation/PropertyStatsServicesPage.java @@ -43,7 +43,7 @@ import website.views.PropertyStatsView; */ public class PropertyStatsServicesPage extends HttpServlet { - private static final long serialVersionUID = 3895257190078166862L; + private static final long serialVersionUID = 3962143718171359732L; private static Logger logger = LoggerFactory.getLogger(PropertyStatsServicesPage.class); /* (non-Javadoc) diff --git a/src/website/federation/organizations/IndexPage.java b/src/website/federation/organizations/IndexPage.java index 1af7d2a..6902603 100644 --- a/src/website/federation/organizations/IndexPage.java +++ b/src/website/federation/organizations/IndexPage.java @@ -41,7 +41,7 @@ import website.federation.FederationHeaderView; */ public class IndexPage extends HttpServlet { - private static final long serialVersionUID = -8274687319890495722L; + private static final long serialVersionUID = 3909086518893521246L; private static Logger logger = LoggerFactory.getLogger(IndexPage.class); /* (non-Javadoc) diff --git a/src/website/federation/organizations/organization/PropertiesDo.java b/src/website/federation/organizations/organization/PropertiesDo.java index 185dad7..dd0780a 100644 --- a/src/website/federation/organizations/organization/PropertiesDo.java +++ b/src/website/federation/organizations/organization/PropertiesDo.java @@ -39,7 +39,7 @@ import jakarta.servlet.http.HttpServletResponse; @KissServlet("^/federation/organizations/[^/]+/[^./]+\\.properties$") public class PropertiesDo extends HttpServlet { - private static final long serialVersionUID = 2011776119103724440L; + private static final long serialVersionUID = -7536773873051469053L; private static Logger logger = LoggerFactory.getLogger(PropertiesDo.class); /* (non-Javadoc) diff --git a/src/website/federation/organizations/organization/metrics/IndexPage.java b/src/website/federation/organizations/organization/metrics/IndexPage.java index 0373f3d..5b095e8 100644 --- a/src/website/federation/organizations/organization/metrics/IndexPage.java +++ b/src/website/federation/organizations/organization/metrics/IndexPage.java @@ -36,7 +36,7 @@ import website.charter.ErrorView; @KissServlet("^/federation/organizations/[^/]+/metrics/") public class IndexPage extends HttpServlet { - private static final long serialVersionUID = 2794788000773558854L; + private static final long serialVersionUID = -2120869479686158841L; private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(IndexPage.class); /* (non-Javadoc) diff --git a/src/website/federation/organizations/organization/services/IndexPage.java b/src/website/federation/organizations/organization/services/IndexPage.java index 1396f8d..dc8abcf 100644 --- a/src/website/federation/organizations/organization/services/IndexPage.java +++ b/src/website/federation/organizations/organization/services/IndexPage.java @@ -37,7 +37,7 @@ import website.charter.ErrorView; @KissServlet("^/federation/organizations/[^/]+/services/$") public class IndexPage extends HttpServlet { - private static final long serialVersionUID = -5951233202690068343L; + private static final long serialVersionUID = 3531927793016566272L; private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(IndexPage.class); /* (non-Javadoc) diff --git a/src/website/federation/organizations/organization/services/service/IndexPage.java b/src/website/federation/organizations/organization/services/service/IndexPage.java index b881587..e50335c 100644 --- a/src/website/federation/organizations/organization/services/service/IndexPage.java +++ b/src/website/federation/organizations/organization/services/service/IndexPage.java @@ -37,7 +37,7 @@ import website.charter.ErrorView; @KissServlet("^/federation/organizations/[^/]+/services/[^/]+/$") public class IndexPage extends HttpServlet { - private static final long serialVersionUID = -5951233202690068343L; + private static final long serialVersionUID = -1634795104224318821L; private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(IndexPage.class); /* (non-Javadoc) diff --git a/src/website/federation/organizations/organization/services/service/PropertiesDo.java b/src/website/federation/organizations/organization/services/service/PropertiesDo.java index d842d79..4d54895 100644 --- a/src/website/federation/organizations/organization/services/service/PropertiesDo.java +++ b/src/website/federation/organizations/organization/services/service/PropertiesDo.java @@ -39,7 +39,7 @@ import jakarta.servlet.http.HttpServletResponse; @KissServlet("^/federation/organizations/[^/]+/services/[^/]+/[^./]+\\.properties$") public class PropertiesDo extends HttpServlet { - private static final long serialVersionUID = 2011776119103724440L; + private static final long serialVersionUID = 7374815394064791347L; private static Logger logger = LoggerFactory.getLogger(PropertiesDo.class); /* (non-Javadoc) diff --git a/src/website/federation/organizations/organization/services/service/metrics/IndexPage.java b/src/website/federation/organizations/organization/services/service/metrics/IndexPage.java index 1b4d8cd..5ee68f2 100644 --- a/src/website/federation/organizations/organization/services/service/metrics/IndexPage.java +++ b/src/website/federation/organizations/organization/services/service/metrics/IndexPage.java @@ -37,7 +37,7 @@ import website.charter.ErrorView; @KissServlet("^/federation/organizations/[^/]+/services/[^/]+/metrics/") public class IndexPage extends HttpServlet { - private static final long serialVersionUID = 2794788000773558854L; + private static final long serialVersionUID = -1317090585455417646L; private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(IndexPage.class); /* (non-Javadoc) @@ -60,7 +60,8 @@ public class IndexPage extends HttpServlet // Send response. // ============== - Redirector.redirect(response, "/federation/organizations/" + organization.getTechnicalName() + "/services/" + service.getTechnicalName() + "/metrics/summary.xhtml"); + Redirector.redirect(response, "/federation/organizations/" + organization.getTechnicalName() + "/services/" + service.getTechnicalName() + + "/metrics/summary.xhtml"); } catch (Exception exception) {