Fixed bug in list building.
This commit is contained in:
parent
54b6275b9d
commit
bb7472efab
1 changed files with 5 additions and 2 deletions
|
@ -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.
|
||||
*
|
||||
|
@ -613,7 +613,10 @@ public class ChabuUtils
|
|||
target.append("'");
|
||||
target.append(",");
|
||||
}
|
||||
target.removeLast();
|
||||
if (!source.isEmpty())
|
||||
{
|
||||
target.removeLast();
|
||||
}
|
||||
target.append("]");
|
||||
|
||||
result = target.toString();
|
||||
|
|
Loading…
Reference in a new issue