Fixed bug in list building.

This commit is contained in:
Christian P. MOMON 2021-01-15 17:59:22 +01:00
parent 54b6275b9d
commit bb7472efab

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2020 Christian Pierre MOMON <christian@momon.org> * Copyright (C) 2020-2021 Christian Pierre MOMON <christian@momon.org>
* *
* This file is part of StatoolInfos, simple service statistics tool. * This file is part of StatoolInfos, simple service statistics tool.
* *
@ -613,7 +613,10 @@ public class ChabuUtils
target.append("'"); target.append("'");
target.append(","); target.append(",");
} }
if (!source.isEmpty())
{
target.removeLast(); target.removeLast();
}
target.append("]"); target.append("]");
result = target.toString(); result = target.toString();