mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-08 20:11:08 +01:00
Add checkstyle check for trailing whitespace
This commit is contained in:
parent
b8f046706b
commit
8878cf3773
14 changed files with 35 additions and 22 deletions
|
|
@ -205,7 +205,7 @@ public class Socks4ProxySocketFactory
|
|||
{
|
||||
try
|
||||
{
|
||||
if(socket!=null)socket.close();
|
||||
if(socket!=null)socket.close();
|
||||
}
|
||||
catch(Exception eee)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -340,7 +340,7 @@ public class Socks5ProxySocketFactory
|
|||
{
|
||||
if(socket!=null)
|
||||
{
|
||||
socket.close();
|
||||
socket.close();
|
||||
}
|
||||
}
|
||||
catch(Exception eee)
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ public class DNSUtil {
|
|||
} else {
|
||||
double rnd = Math.random() * running_total;
|
||||
selectedPos = bisect(totals, rnd);
|
||||
}
|
||||
}
|
||||
// add the SRVRecord that was randomly chosen on it's weight
|
||||
// to the start of the result list
|
||||
SRVRecord chosenSRVRecord = bucket.remove(selectedPos);
|
||||
|
|
|
|||
|
|
@ -232,7 +232,7 @@ public class PacketParserUtils {
|
|||
if (language != null && !"".equals(language.trim())) {
|
||||
message.setLanguage(language);
|
||||
defaultLanguage = language;
|
||||
}
|
||||
}
|
||||
else {
|
||||
defaultLanguage = Stanza.getDefaultLanguage();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue