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:
parent
c49999b933
commit
aea95d3401
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue