mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-08 14:11:07 +01:00
Add "whitespace after comma" checkstyle rule
This commit is contained in:
parent
db5f6f648c
commit
f7762c5db7
37 changed files with 59 additions and 58 deletions
|
|
@ -266,7 +266,7 @@ public final class PrivateDataManager extends Manager {
|
|||
}
|
||||
else if (event == XmlPullParser.Event.END_ELEMENT) {
|
||||
// If an empty element, set the value with the empty string.
|
||||
data.setValue(name,"");
|
||||
data.setValue(name, "");
|
||||
}
|
||||
}
|
||||
else if (event == XmlPullParser.Event.END_ELEMENT) {
|
||||
|
|
|
|||
|
|
@ -307,7 +307,7 @@ public final class AccountManager extends Manager {
|
|||
}
|
||||
Map<String, String> map = new HashMap<>();
|
||||
map.put("username", connection().getUser().getLocalpart().toString());
|
||||
map.put("password",newPassword);
|
||||
map.put("password", newPassword);
|
||||
Registration reg = new Registration(map);
|
||||
reg.setType(IQ.Type.set);
|
||||
reg.setTo(connection().getXMPPServiceDomain());
|
||||
|
|
|
|||
|
|
@ -477,7 +477,7 @@ public final class MultiUserChatManager extends Manager {
|
|||
|
||||
/**
|
||||
* Set a callback invoked by this manager when automatic join on reconnect failed. If failedCallback is not
|
||||
* <code>null</code>,then automatic rejoin get also enabled.
|
||||
* <code>null</code>, then automatic rejoin get also enabled.
|
||||
*
|
||||
* @param failedCallback the callback.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -357,7 +357,7 @@ public final class VCard extends IQ {
|
|||
/**
|
||||
* Set the avatar for the VCard by specifying the url to the image.
|
||||
*
|
||||
* @param avatarURL the url to the image(png,jpeg,gif,bmp)
|
||||
* @param avatarURL the url to the image(png, jpeg, gif, bmp)
|
||||
*/
|
||||
public void setAvatar(URL avatarURL) {
|
||||
byte[] bytes = new byte[0];
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ public class Form {
|
|||
/**
|
||||
* Creates a new Form of a given type from scratch.
|
||||
*
|
||||
* @param type the form's type (e.g. form, submit,cancel,result).
|
||||
* @param type the form's type (e.g. form, submit, cancel, result).
|
||||
*/
|
||||
public Form(DataForm.Type type) {
|
||||
this.dataForm = new DataForm(type);
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ public class DataValidationProvider {
|
|||
);
|
||||
break;
|
||||
case RegexValidateElement.METHOD:
|
||||
dataValidation = new RegexValidateElement(dataType,parser.nextText());
|
||||
dataValidation = new RegexValidateElement(dataType, parser.nextText());
|
||||
break;
|
||||
case ListRange.ELEMENT:
|
||||
Long min = ParserUtils.getLongAttribute(parser, "min");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue