1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +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(method.getName())
.append(" (") .append(" (")
.append(testType.name()); .append(testType.name());
if (subdescriptons != null) { if (subdescriptons != null && subdescriptons.length > 0) {
sb.append(", "); sb.append(", ");
StringUtils.appendTo(Arrays.asList(subdescriptons), sb); StringUtils.appendTo(Arrays.asList(subdescriptons), sb);
} }