1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +01:00

sinttest: also check for length of subdescriptions varargs

This commit is contained in:
Florian Schmaus 2020-04-13 20:46:59 +02:00
parent c49999b933
commit aea95d3401

View file

@ -746,7 +746,7 @@ public class SmackIntegrationTestFramework {
.append(method.getName())
.append(" (")
.append(testType.name());
if (subdescriptons != null) {
if (subdescriptons != null && subdescriptons.length > 0) {
sb.append(", ");
StringUtils.appendTo(Arrays.asList(subdescriptons), sb);
}