Fixed separase case characters in property stats.
This commit is contained in:
parent
c98fc07e1b
commit
3cd843e1f1
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020 Christian Pierre MOMON <christian@momon.org>
|
||||
* Copyright (C) 2020-2022 Christian Pierre MOMON <christian@momon.org>
|
||||
*
|
||||
* 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()))
|
||||
|
|
Loading…
Reference in a new issue