From 3cd843e1f177849a92adf04e4c6335e5fe4bcd78 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Mon, 25 Jul 2022 18:32:26 +0200 Subject: [PATCH] Fixed separase case characters in property stats. --- .../statoolinfos/stats/properties/PropertyStats.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/fr/devinsy/statoolinfos/stats/properties/PropertyStats.java b/src/fr/devinsy/statoolinfos/stats/properties/PropertyStats.java index 2eb6e99..073070e 100644 --- a/src/fr/devinsy/statoolinfos/stats/properties/PropertyStats.java +++ b/src/fr/devinsy/statoolinfos/stats/properties/PropertyStats.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Christian Pierre MOMON + * Copyright (C) 2020-2022 Christian Pierre MOMON * * This file is part of StatoolInfos, simple service statistics tool. * @@ -162,11 +162,12 @@ public class PropertyStats for (PathProperty property : properties) { - PropertyStat stat = this.stats.get(property.getPath()); + String path = property.getPath().toLowerCase(); + PropertyStat stat = this.stats.get(path); if (stat == null) { - stat = new PropertyStat(property.getPath()); + stat = new PropertyStat(path); } if (StringUtils.isBlank(property.getValue()))