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
1 changed files with 1 additions and 1 deletions

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);
}