1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-24 03:27:59 +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);
}