mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 05:52:06 +01:00
sinttest: only append subdescriptions if there are any
This commit is contained in:
parent
268425854a
commit
2b41a67028
1 changed files with 4 additions and 2 deletions
|
@ -746,8 +746,10 @@ public class SmackIntegrationTestFramework {
|
||||||
.append(method.getName())
|
.append(method.getName())
|
||||||
.append(" (")
|
.append(" (")
|
||||||
.append(testType.name());
|
.append(testType.name());
|
||||||
sb.append(", ");
|
if (subdescriptons != null) {
|
||||||
StringUtils.appendTo(Arrays.asList(subdescriptons), sb);
|
sb.append(", ");
|
||||||
|
StringUtils.appendTo(Arrays.asList(subdescriptons), sb);
|
||||||
|
}
|
||||||
sb.append(')');
|
sb.append(')');
|
||||||
|
|
||||||
stringCache = sb.toString();
|
stringCache = sb.toString();
|
||||||
|
|
Loading…
Reference in a new issue