mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-08 14:11:07 +01:00
Bump errorprone to 2.2.0
This commit is contained in:
parent
214218c49b
commit
3132d9a224
17 changed files with 59 additions and 87 deletions
|
|
@ -683,9 +683,9 @@ public class RosterTest extends InitSmackIm {
|
|||
connection.processStanza(response);
|
||||
|
||||
// Verify the roster update request
|
||||
assertSame("A roster set MUST contain one and only one <item/> element.",
|
||||
1,
|
||||
rosterRequest.getRosterItemCount());
|
||||
if (rosterRequest.getRosterItemCount() != 1) {
|
||||
throw new AssertionError("A roster set MUST contain one and only one <item/> element.");
|
||||
}
|
||||
verifyUpdateRequest(rosterRequest);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -180,9 +180,9 @@ public class SubscriptionPreApprovalTest extends InitSmackIm {
|
|||
connection.processStanza(response);
|
||||
|
||||
// Verify the roster update request
|
||||
assertSame("A roster set MUST contain one and only one <item/> element.",
|
||||
1,
|
||||
rosterRequest.getRosterItemCount());
|
||||
if (rosterRequest.getRosterItemCount() != 1) {
|
||||
throw new AssertionError("A roster set MUST contain one and only one <item/> element.");
|
||||
}
|
||||
verifyRosterUpdateRequest(rosterRequest);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue