mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-14 06:51:08 +01:00
's;^\s+$;;' on all source files
And add checkstyle test for lines containing only whitespace characters.
This commit is contained in:
parent
05c97c494b
commit
0fde39fa45
193 changed files with 1066 additions and 1062 deletions
|
|
@ -119,9 +119,9 @@ public class AdHocCommandManager extends Manager {
|
|||
* ID matches the sessionid attribute sent by command responders.
|
||||
*/
|
||||
private final Map<String, LocalCommand> executingCommands = new ConcurrentHashMap<String, LocalCommand>();
|
||||
|
||||
|
||||
private final ServiceDiscoveryManager serviceDiscoveryManager;
|
||||
|
||||
|
||||
/**
|
||||
* Thread that reaps stale sessions.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -241,13 +241,13 @@ public class AdHocCommandData extends IQ {
|
|||
public static class SpecificError implements ExtensionElement {
|
||||
|
||||
public static final String namespace = "http://jabber.org/protocol/commands";
|
||||
|
||||
|
||||
public SpecificErrorCondition condition;
|
||||
|
||||
|
||||
public SpecificError(SpecificErrorCondition condition) {
|
||||
this.condition = condition;
|
||||
}
|
||||
|
||||
|
||||
public String getElementName() {
|
||||
return condition.toString();
|
||||
}
|
||||
|
|
@ -258,7 +258,7 @@ public class AdHocCommandData extends IQ {
|
|||
public SpecificErrorCondition getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
|
||||
public String toXML() {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
buf.append("<").append(getElementName());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue