diff --git a/src/fr/devinsy/statoolinfos/htmlize/charts/ChabuUtils.java b/src/fr/devinsy/statoolinfos/htmlize/charts/ChabuUtils.java index fde78fb..82b9644 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/charts/ChabuUtils.java +++ b/src/fr/devinsy/statoolinfos/htmlize/charts/ChabuUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Christian Pierre MOMON + * Copyright (C) 2020-2021 Christian Pierre MOMON * * This file is part of StatoolInfos, simple service statistics tool. * @@ -613,7 +613,10 @@ public class ChabuUtils target.append("'"); target.append(","); } - target.removeLast(); + if (!source.isEmpty()) + { + target.removeLast(); + } target.append("]"); result = target.toString();