mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-12 10:39:38 +02:00
SMACK-363 Applied code cleanup patches for many generics related issues.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13325 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
6dc64671e2
commit
e08c8afe44
109 changed files with 577 additions and 605 deletions
|
@ -150,8 +150,8 @@ public class XHTMLExtensionTest extends SmackTestCase {
|
|||
"Message without extension \"http://jabber.org/protocol/xhtml-im\"",
|
||||
xhtmlExtension);
|
||||
assertTrue("Message without XHTML bodies", xhtmlExtension.getBodiesCount() > 0);
|
||||
for (Iterator it = xhtmlExtension.getBodies(); it.hasNext();) {
|
||||
String body = (String) it.next();
|
||||
for (Iterator<String> it = xhtmlExtension.getBodies(); it.hasNext();) {
|
||||
String body = it.next();
|
||||
System.out.println(body);
|
||||
}
|
||||
}
|
||||
|
@ -222,9 +222,9 @@ public class XHTMLExtensionTest extends SmackTestCase {
|
|||
"Message without extension \"http://jabber.org/protocol/xhtml-im\"",
|
||||
xhtmlExtension);
|
||||
assertTrue("Message without XHTML bodies", xhtmlExtension.getBodiesCount() > 0);
|
||||
for (Iterator it = xhtmlExtension.getBodies(); it.hasNext();) {
|
||||
for (Iterator<String> it = xhtmlExtension.getBodies(); it.hasNext();) {
|
||||
received++;
|
||||
System.out.println((String) it.next());
|
||||
System.out.println(it.next());
|
||||
}
|
||||
bodiesReceived = received;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue