mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-12 05:51:08 +01:00
Bump JXMPP to 0.5.0
This commit is contained in:
parent
f633313c4a
commit
183c605278
8 changed files with 13 additions and 13 deletions
|
|
@ -304,7 +304,7 @@ public class Socks5BytestreamRequest implements BytestreamRequest {
|
|||
* @param address the address the connection failure counter should be increased
|
||||
*/
|
||||
private static void incrementConnectionFailures(String address) {
|
||||
Integer count = ADDRESS_BLACKLIST.get(address);
|
||||
Integer count = ADDRESS_BLACKLIST.lookup(address);
|
||||
ADDRESS_BLACKLIST.put(address, count == null ? 1 : count + 1);
|
||||
}
|
||||
|
||||
|
|
@ -315,7 +315,7 @@ public class Socks5BytestreamRequest implements BytestreamRequest {
|
|||
* @return number of connection failures
|
||||
*/
|
||||
private static int getConnectionFailures(String address) {
|
||||
Integer count = ADDRESS_BLACKLIST.get(address);
|
||||
Integer count = ADDRESS_BLACKLIST.lookup(address);
|
||||
return count != null ? count : 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue