Compare commits

...

2 commits

2 changed files with 8 additions and 7 deletions

View file

@ -19,7 +19,7 @@ I am glad to use the beautiful artwork of David Revoy (http://www.peppercarrot.c
* Source: https://framagit.org/Deevad/cat-avatar-generator
* Originally inspired of the code for "MonsterID" by Andreas Gohr http://www.splitbrain.org/go/monsterid.
### Cicle-icons
### Circle-icons
I am glad to use the generous artwork of ElegantThemes.com :
@ -31,7 +31,7 @@ I am glad to use the generous artwork of ElegantThemes.com :
Author: Christian Pierre MOMON <christian.momon@devinsy.fr>
License: Creative Commons CC-BY-SA last version.
License: Creative Commons CC BY-SA last version.
### Other stuff
@ -39,8 +39,8 @@ License: Creative Commons CC-BY-SA last version.
License of other stuff:
* csv-logo.svg, json-logo.svg, ods-icon.svg:
* Author: Christian P. Momon
* License: CC-BY-SA 3+.
* other: without any specific information, default license of images is CC-BY-SA 3+.
* License: CC BY-SA 3+.
* other: without any specific information, default license of images is CC BY-SA 3+.
## DOCUMENTATION

View file

@ -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()))