mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 18:59:41 +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
|
@ -1,32 +0,0 @@
|
|||
package org.jivesoftware.smack;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
public class SmackConfigTest
|
||||
{
|
||||
@Test
|
||||
public void validatePacketCollectorSize()
|
||||
{
|
||||
assertEquals(10000, SmackConfiguration.getPacketCollectorSize());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void validateKeepAliveInterval()
|
||||
{
|
||||
assertEquals(30000, SmackConfiguration.getKeepAliveInterval());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void validateLocalSocks5ProxyPort()
|
||||
{
|
||||
assertEquals(7777, SmackConfiguration.getLocalSocks5ProxyPort());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void validateIsLocalSocks5Proxy()
|
||||
{
|
||||
assertTrue(SmackConfiguration.isLocalSocks5ProxyEnabled());
|
||||
}
|
||||
}
|
|
@ -142,9 +142,9 @@ public class Protocol {
|
|||
}
|
||||
}
|
||||
|
||||
Verification<?, ?>[] verifications = verificationList.get(i);
|
||||
Verification<Packet, Packet>[] verifications = (Verification<Packet, Packet>[]) verificationList.get(i);
|
||||
if (verifications != null) {
|
||||
for (Verification verification : verifications) {
|
||||
for (Verification<Packet, Packet> verification : verifications) {
|
||||
verification.verify(request, response);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue